WP_HTML_Tag_Processor::get_namespace
Returns the namespace of the matched token.
Method of the class: WP_HTML_Tag_Processor{}
No Hooks.
Returns
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() WP HTML Tag Processor::get namespace code WP 6.9
public function get_namespace(): string {
return $this->parsing_namespace;
}