endElement()
Ends a new XML tag.
Callback function for xml_set_element_handler().
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Return
null
. Nothing (null).
Usage
endElement( $parser, $tag_name );
- $parser(resource) (required)
- XML Parser resource.
- $tag_name(string) (required)
- XML tag name.
Changelog
Since 0.71 | Introduced. |
endElement() endElement code WP 6.5.2
function endElement( $parser, $tag_name ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid // Nothing to do. }