WordPress at a glance
filter is not described

enable_wp_debug_mode_checks filter-hook . WP 4.6.0

Filters whether to allow the debug mode check to occur.

This filter runs before it can be used by plugins. It is designed for non-web run-times. Returning false causes the WP_DEBUG and related constants to not be checked and the default php values for errors will be used unless you take care to update them yourself.


add_filter( 'enable_wp_debug_mode_checks', 'filter_function_name_7686' );
function filter_function_name_7686( $enable_debug_mode ){
	// filter...

	return $enable_debug_mode;
Whether to enable debug mode checks to occur.
Default: true

Where the hook is called

wp-includes/load.php 316
if ( ! apply_filters( 'enable_wp_debug_mode_checks', true ) ){

Where the hook is used (in WP core)

Does not used.