WP_HTML_Processor::close_a_p_element()

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. Use https://html.spec.whatwg.org/#close-a-p-element instead.

Closes a P element.

Description

See also

Source

private function close_a_p_element() {
	$this->generate_implied_end_tags( 'P' );
	$this->state->stack_of_open_elements->pop_until( 'P' );
}

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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