apply_filters( 'wp_die_json_handler', callable $function )

Filters the callback for killing WordPress execution for JSON requests.

Parameters

$function

(callable) Callback function name.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
5.1.0 Introduced.

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