WP_HTML_Tag_Processor::get_namespace()publicWP 6.7.0

Returns the namespace of the matched token.

Method of the class: WP_HTML_Tag_Processor{}

No Hooks.

Return

String. One of 'html', 'math', or 'svg'.

Usage

$WP_HTML_Tag_Processor = new WP_HTML_Tag_Processor();
$WP_HTML_Tag_Processor->get_namespace(): string;

Changelog

Since 6.7.0 Introduced.

WP_HTML_Tag_Processor::get_namespace() code WP 6.7.1

public function get_namespace(): string {
	return $this->parsing_namespace;
}