wp_die_json_handler

wp_die_json_handler

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_die_json_handler') is found 1 times:

  • /wp-includes/functions.php line 3781
    3777
    3778
    3779
    3780
    3781
    3782
    3783
    3784
    3785
    3786
    3787
         * @since 5.1.0
         *
         * @param callable $callback Callback function name.
         */
        $callback = apply_filters( 'wp_die_json_handler', '_json_wp_die_handler' );
    } elseif ( wp_is_serving_rest_request() && wp_is_jsonp_request() ) {
        /**
         * Filters the callback for killing WordPress execution for JSONP REST requests.
         *
         * @since 5.2.0
         *