Used By
Used By | Description |
---|---|
wp-includes/load.php: wp_debug_mode() | Set PHP error reporting based on WordPress debug settings. |
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.
(bool) Whether to enable debug mode checks to occur. Default true.
File: wp-includes/load.php
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/enable_wp_debug_mode_checks