_json_wp_die_handler
- %1$s is private and should not be used in themes or plugins directly.
_json_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.1.0
- Deprecated in WordPress: —
Description
Kills WordPress execution and displays JSON response with an error message.This is the handler for wp_die() when processing JSON requests.