On this page
apply_filters( 'wp_die_handler', callable $callback )
Filters the callback for killing WordPress execution for all non-Ajax, non-JSON, non-XML requests.
Parameters
$callbackcallable-
Callback function name.
Source
File: wp-includes/functions.php. View all references
$callback = apply_filters( 'wp_die_handler', '_default_wp_die_handler' );
Related
Used By
| Used By | Description |
|---|---|
| wp_die() wp-includes/functions.php | Kills WordPress execution and displays HTML page with an error message. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_die_handler