wp_die_xml_handler filter-hookWP 5.2.0

Filters the callback for killing WordPress execution for XML requests.

Usage

add_filter( 'wp_die_xml_handler', 'wp_kama_die_xml_handler_filter' );

/**
 * Function for `wp_die_xml_handler` filter-hook.
 * 
 * @param callable $callback Callback function name.
 *
 * @return callable
 */
function wp_kama_die_xml_handler_filter( $callback ){

	// filter...
	return $callback;
}
$callback(callable)
Callback function name.

Changelog

Since 5.2.0 Introduced.

Where the hook is called

wp_die()
wp_die_xml_handler
wp-includes/functions.php 3773
$callback = apply_filters( 'wp_die_xml_handler', '_xml_wp_die_handler' );

Where the hook is used in WordPress

Usage not found.