WP_HTML_Processor::close_a_p_element()privateWP 6.4.0

Closes a P element.

Method of the class: WP_HTML_Processor{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->close_a_p_element();

Notes

Changelog

Since 6.4.0 Introduced.

WP_HTML_Processor::close_a_p_element() code WP 6.6.2

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