WordPress at Your Fingertips
filter is not described

deprecated_function_trigger_error filter-hook . WP 2.5.0

Filters whether to trigger an error for deprecated functions.


add_filter( 'deprecated_function_trigger_error', 'filter_function_name_2015' );
function filter_function_name_2015( $trigger ){
	// filter...

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


Since 2.5.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

wp-includes/rest-api.php 199
add_filter( 'deprecated_function_trigger_error', '__return_false' );