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.


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

	return $trigger;
Whether to trigger the error for deprecated functions.
Default: true

Where the hook is called

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

Where the hook is used (in WP core)

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