WordPress at Your Fingertips
filter is not described

deprecated_file_trigger_error filter-hook . WP 2.5.0

Filters whether to trigger an error for deprecated files.


add_filter( 'deprecated_file_trigger_error', 'filter_function_name_2808' );
function filter_function_name_2808( $trigger ){
	// filter...

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


Since 2.5.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.