wp_die_json_handler filter-hook . WP 5.1.0
Filters the callback for killing WordPress execution for JSON requests.
Usage
add_filter( 'wp_die_json_handler', 'filter_function_name_7069' ); function filter_function_name_7069( $function ){ // filter... return $function; }
- $function(callable)
- Callback function name.
Changelog
Since 5.1.0 | Introduced. |
Where the hook is called
wp_die_json_handler
wp-includes/functions.php 3377
$function = apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' );