W3cubDocs

/WordPress

apply_filters( ‘wp_die_jsonp_handler’, callable $callback )

Filters the callback for killing WordPress execution for JSONP REST requests.

Parameters

$callbackcallable
Callback function name.

Source

$callback = apply_filters( 'wp_die_jsonp_handler', '_jsonp_wp_die_handler' );

Changelog

Version Description
5.2.0 Introduced.

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