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.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More