Constructor function.
Parameters
$token
WP_HTML_Tokenrequired- Token associated with stack event, always an opening token.
$operation
stringrequired- One of self::PUSH or self::POP.
$provenance
stringrequired- "virtual" or "real".
Source
public function __construct( WP_HTML_Token $token, string $operation, string $provenance ) {
$this->token = $token;
$this->operation = $operation;
$this->provenance = $provenance;
}
Changelog
Version | Description |
---|---|
6.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.