Interfaces, Classes, Traits and Enums
- WPNonceWrapper
Table of Contents
-
getReferer()
: string
-
safeRedirect()
: mixed
-
verify()
: int
getReferer()
public
getReferer() : string
Return values
string
—
safeRedirect()
public
safeRedirect(string $url[, int $status = 302 ]) : mixed
Parameters
-
$url
: string
-
-
$status
: int
= 302
-
-
throws
-
WPRedirectException
Return values
mixed
—
verify()
public
verify(string $nonce, string $action) : int
Parameters
-
$nonce
: string
-
-
$action
: string
-
-
throws
-
WPNonceVerificationException
Return values
int
—