WordPress at a glance
filter is not described

deprecated_hook_trigger_error filter-hook . WP 4.6.0

Filters whether to trigger deprecated hook errors.

Usage

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

	return $trigger;
}
$trigger(true/false)
Whether to trigger deprecated hook errors. Requires WP_DEBUG to be defined true.

Список изменений

С версии 4.6.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.