Filters the callback for killing WordPress execution for all non-Ajax, non-JSON, non-XML requests.
$callbackcallable
$callback = apply_filters( 'wp_die_handler', '_default_wp_die_handler' );
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_die_handler