WordPress at a glance
filter is not described

deprecated_constructor_trigger_error filter-hook . WP 4.3.0

Filters whether to trigger an error for deprecated functions.

WP_DEBUG must be true in addition to the filter evaluating to true.

Usage

add_filter( 'deprecated_constructor_trigger_error', 'filter_function_name_6520' );
function filter_function_name_6520( $trigger ){
	// filter...

	return $trigger;
}
$trigger(true/false)
Whether to trigger the error for deprecated functions.
Default: true

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

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

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

_deprecated_constructor()
deprecated_constructor_trigger_error
wp-includes/functions.php 4854
if ( WP_DEBUG && apply_filters( 'deprecated_constructor_trigger_error', true ) ) {

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

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