check_ajax_referer – action
Fires once the Ajax request has been validated or not.
Parameters
- .
- ( 2.1.0 ) . .
- ( string ) $action The Ajax nonce action. . . .
- $result
- ( false|int ) 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. . . .