WP_HTML_Stack_Event::__construct( WP_HTML_Token $token, string $operation, string $provenance )

In this article

Constructor function.

Parameters

$tokenWP_HTML_Tokenrequired
Token associated with stack event, always an opening token.
$operationstringrequired
One of self::PUSH or self::POP.
$provenancestringrequired
"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

VersionDescription
6.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.