wp_die_xml_handler WordPress Filter Hook
The wp_die_xml_handler hook is used to handle XML errors when parsing a document. It is called when an error occurs while parsing an XML document. This hook can be used to display a custom error message or to take other action.
apply_filters( 'wp_die_xml_handler', callable $callback ) #
Filters the callback for killing WordPress execution for XML requests.
Parameters
- $callback
(callable)Callback function name.
Source
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |