Codex

Function Reference/check admin referer

Description

Makes sure that a user was referred from another admin page, to avoid security exploits. Nonces related.

Parameters

$action
(string) (defaults to int -1) Action nonce
Default: -1
$query_arg
(string) (optional) where to look for nonce in $_REQUEST (since 2.5)
Default: '_wpnonce'

Usage

 <?php check_admin_referer('bcn_admin_options'); ?> 

See also

This page is marked as incomplete. You can help Codex by expanding it.


You are viewing a mobilized version of this site...
View original page here

How do you rate mobile version of this page?

Mobilized by Mowser Mowser