Inpsyde\MultilingualPress\Common\Nonce\WPNonce::__construct PHP 메소드

__construct() 공개 메소드

Constructor. Sets up the properties.
부터: 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;
    }