check_ajax_referer, $action, $result
check_ajax_referer, $action, $result
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('check_ajax_referer, $action, $result') is found 1 times:
- /wp-includes/pluggable.php line 1443
* @param string $action The Ajax nonce action. * @param false|int $result False if the nonce is invalid, 1 if the nonce is valid and generated between * 0-12 hours ago, 2 if the nonce is valid and generated between 12-24 hours ago. */ do_action( 'check_ajax_referer', $action, $result ); if ( $stop && false === $result ) { if ( wp_doing_ajax() ) { wp_die( -1, 403 ); } else { die( '-1' );