WP_HTML_Tag_Processor::after_tag()
Applies attribute updates and cleans up once a tag is fully parsed.
Метод класса: WP_HTML_Tag_Processor{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->after_tag();
Список изменений
С версии 6.2.0 | Введена. |
Код WP_HTML_Tag_Processor::after_tag() WP HTML Tag Processor::after tag WP 6.3.1
private function after_tag() { $this->get_updated_html(); $this->tag_name_starts_at = null; $this->tag_name_length = null; $this->tag_ends_at = null; $this->is_closing_tag = null; $this->attributes = array(); }