Un motore di ricerca WordPress per sviluppatori e autori di temi



check_ajax_referer ›

Da2.1.0
Deprecaton/a
do_action( 'check_ajax_referer', $action, $result )
Parametri: (2)
  • (string) $action The Ajax nonce action.
    Richiesto:
  • (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.
    Richiesto:
Definito a:
Codex:

Fires once the Ajax request has been validated or not.





Sorgenti

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