PHP Interface Inpsyde\MultilingualPress\Common\Nonce\Nonce

Since: 3.0.0
Show file Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

Method Description
__toString ( ) : string Returns the nonce value.
action ( ) : string Returns the nonce action.
is_valid ( ) : boolean Checks if the nonce is valid with respect to the current context.

Method Details

__toString() public method

Returns the nonce value.
Since: 3.0.0
public __toString ( ) : string
return string Nonce value.

action() public method

Returns the nonce action.
Since: 3.0.0
public action ( ) : string
return string Nonce action.

is_valid() public method

Checks if the nonce is valid with respect to the current context.
Since: 3.0.0
public is_valid ( ) : boolean
return boolean Whether or not the nonce is valid.