wp_die_handler filter-hook . WP 3.0.0
Filters the callback for killing WordPress execution for all non-Ajax, non-JSON, non-XML requests.
Usage
add_filter( 'wp_die_handler', 'filter_function_name_8332' ); function filter_function_name_8332( $function ){ // filter... return $function; }
- $function(callable)
- Callback function name.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
wp_die_handler
wp-includes/functions.php 3417
$function = apply_filters( 'wp_die_handler', '_default_wp_die_handler' );