Summery Summery
Filters whether to allow the debug mode check to occur.
Syntax Syntax
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.
Parameters Parameters
- $enable_debug_mode
-
Whether to enable debug mode checks to occur. Default true.
Source Source
File: wp-includes/load.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |