wordpress / latest / hooks / wp_die_json_handler.html

apply_filters( 'wp_die_json_handler', callable $callback )

Filters the callback for killing WordPress execution for JSON requests.

Parameters

$callback callable
Callback function name.

Source

File: wp-includes/functions.php. View all references

$callback = apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' );

Used By

Used By Description

Changelog

Version Description
5.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_die_json_handler