A WordPress-centric search engine for devs and theme authors



check_admin_referer ›

Since1.5.1
Deprecatedn/a
do_action( 'check_admin_referer', $action, $result )
Parameters: (2)
  • (string) $action The 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 admin request has been validated or not.





Source

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