WordPress at Your Fingertips
filter is not described

deprecated_hook_trigger_error filter-hook . WP 4.6.0

Filters whether to trigger deprecated hook errors.


add_filter( 'deprecated_hook_trigger_error', 'filter_function_name_6473' );
function filter_function_name_6473( $trigger ){
	// filter...

	return $trigger;
Whether to trigger deprecated hook errors. Requires WP_DEBUG to be defined true.


Since 4.6.0 Introduced.

Where the hook is called

wp-includes/functions.php 5446
if ( WP_DEBUG && apply_filters( 'deprecated_hook_trigger_error', true ) ) {

Where in WP core the hook is used WordPress

Usage not found.