check_admin_referer

Advertisement

Summery Summery

Fires once the admin request has been validated or not.

Syntax Syntax

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

Parameters Parameters

$action

(string) The 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.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.1 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.