_xml_wp_die_handler
- %1$s is private and should not be used in themes or plugins directly.
_xml_wp_die_handler ( $message, $title = '', $args = array() )
Access:Parameters:- (string) message Error message.
- (string) title Optional. Error title. Default empty string.
- (string|array) args Optional. Arguments to control behavior. Default empty array.
Defined at: - Introduced in WordPress: 5.2.0
- Deprecated in WordPress: —
Description
Kills WordPress execution and displays XML response with an error message.This is the handler for wp_die() when processing XML requests.