wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



check_ajax_referer › Działania WordPress Hooks

Od2.1.0
Przestarzałyn/a
do_action( 'check_ajax_referer', $action, $result )
Parametry: (2)
  • (string) $action The Ajax nonce action.
    Wymagane: Tak
  • (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.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires once the Ajax request has been validated or not.





Źródło

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