wpseek.com
A WordPress-centric search engine for devs and theme authors



check_ajax_referer › WordPress Action Hooks

Since2.1.0
Deprecatedn/a
do_action( 'check_ajax_referer', $action, $result )
Parameters: (2)
  • (string) $action The Ajax nonce action.
    Required: Yes
  • (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.
    Required: Yes
Defined at:
Codex:

Fires once the Ajax request has been validated or not.





Source

do_action( 'check_ajax_referer', $action, $result );