do_action( 'check_admin_referer', string $action, false|int $result )

Fires once the admin request has been validated or not.


Parameters

$action

The nonce action.

$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.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.1 Introduced.