WP_HTML_Active_Formatting_Elements::insert_marker()
Inserts a "marker" at the end of the list of active formatting elements.
The markers are inserted when entering applet, object, marquee, > template, td, th, and caption elements, and are used to prevent > formatting from "leaking" into applet, object, marquee, template, > td, th, and caption elements.
Метод класса: WP_HTML_Active_Formatting_Elements{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WP_HTML_Active_Formatting_Elements = new WP_HTML_Active_Formatting_Elements(); $WP_HTML_Active_Formatting_Elements->insert_marker(): void;
Заметки
Список изменений
С версии 6.7.0 | Введена. |
Код WP_HTML_Active_Formatting_Elements::insert_marker() WP HTML Active Formatting Elements::insert marker WP 6.8.1
public function insert_marker(): void { $this->push( new WP_HTML_Token( null, 'marker', false ) ); }