apply_filters( 'wp_die_json_handler', callable $callback )

Filters the callback for killing WordPress execution for JSON requests.


Parameters

$callback

Callback function name.


Source

File: wp-includes/functions.php

View on GitHub


Changelog

Changelog
Version Description
5.1.0 Introduced.