apply_filters( 'enable_wp_debug_mode_checks', bool $enable_debug_mode )

Filters whether to allow the debug mode check to occur.

Description Description

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.

Top ↑

Parameters Parameters


(bool) Whether to enable debug mode checks to occur. Default true.

Top ↑

Source Source

File: wp-includes/load.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.