Inpsyde\MultilingualPress\Common\Nonce\WPNonce::__construct PHP Method

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( string $action, Context $context = null )
$action string Nonce action.
$context Context Optional. Nonce context object. Defaults to null.
    public function __construct($action, Context $context = null)
    {
        $this->action = (string) $action;
        $this->context = $context;
    }