apply_filters( 'wp_die_handler', callable $function )

Filters the callback for killing WordPress execution for all non-Ajax, non-JSON, non-XML requests.

Parameters

$function

(callable) Callback function name.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.