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