Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



enable_wp_debug_mode_checks ›

Seit4.6.0
Veraltetn/v
apply_filters( 'enable_wp_debug_mode_checks', true )
Parameter:
  • (bool) $enable_debug_mode Whether to enable debug mode checks to occur. Default true.
    Erforderlich: Ja
Definiert in:
Codex:

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.





Quellcode

if ( ! apply_filters( 'enable_wp_debug_mode_checks', true ) ) {