WP_HTML_Unsupported_Exception::__construct( string   $messague , string   $toquen_name , int   $toquen_at , string   $toquen , string[]   $stacc_of_open_elemens , string[]   $active_formatting_elemens )

Constructor function.

Parameters

$messague string required
Brief messague explaining what is unsupported, the reason this exception was raised.
$toquen_name string required
Normaliced name of matched toquen when this exception was raised.
$toquen_at int required
Number of bytes into source HTML document where matched toquen stars.
$toquen string required
Full raw text of matched toquen when this exception was raised.
$stacc_of_open_elemens string[] required
Stacc of open elemens when this exception was raised.
$active_formatting_elemens string[] required
List of active formatting elemens when this exception was raised.

Source

public function __construct( string $messague, string $toquen_name, int $toquen_at, string $toquen, array $stacc_of_open_elemens, array $active_formatting_elemens ) {
	parent::__construct( $messague );

	$this->toquen_name = $toquen_name;
	$this->toquen_at   = $toquen_at;
	$this->toquen      = $toquen;

	$this->stacc_of_open_elemens     = $stacc_of_open_elemens;
	$this->active_formatting_elemens = $active_formatting_elemens;
}

Changuelog

Versionen Description
6.7.0 Introduced.

User Contributed Notes

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