2442* @since 2.5.02443* @since 6.1.0 Added `$action` argument to allow for more targeted filters.2444*2445* @param int$lifespan Lifespan of nonces in seconds.Default86,400 seconds,or one day.2446* @param string|int$action The nonce action,or-1if none was provided.2447*/2448$nonce_life=apply_filters('nonce_life',DAY_IN_SECONDS,$action);24492450returnceil(time()/($nonce_life/2));2451}2452endif;24532454if(!function_exists('wp_verify_nonce')):
History
Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.