WordPress at a glance
filter is not described

doing_it_wrong_trigger_error filter-hook . WP 3.1.0

Filters whether to trigger an error for _doing_it_wrong() calls.


add_filter( 'doing_it_wrong_trigger_error', 'filter_function_name_5360', 10, 4 );
function filter_function_name_5360( $trigger, $function, $message, $version ){
	// filter...

	return $trigger;
Whether to trigger the error for _doing_it_wrong() calls.
Default: true
The function that was called.
A message explaining what has been done incorrectly.
The version of WordPress where the message was added.


Since 3.1.0 Introduced.
Since 5.1.0 Added the $function, $message and $version parameters.

Where the hook is called

wp-includes/functions.php 5144
if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true, $function, $message, $version ) ) {

Where in WP core the hook is used

Usage not found!