apply_filters( 'wp_die_handler', callable $callback )

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


Parameters

$callback callable
Callback function name.

Top ↑

Source

File: wp-includes/functions.php. View all references

$callback = apply_filters( 'wp_die_handler', '_default_wp_die_handler' );


Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.