WP_HTML_Tag_Processor::after_tag()

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Applies attribute updates and cleans up once a tag is fully parsed.

Source

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();
	$this->duplicate_attributes = null;
}

Changelog

VersionDescription
6.2.0Introduced.

User Contributed Notes

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