Core Function
View Source on Trac ↗ wp_is_development_mode()
wp_is_development_mode( mixed $mode ) Checks whether the site is in the given development mode.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $mode string | Development mode to check for. Either 'core', 'plugin', 'theme', or 'all'. Required |
Return Value
(bool)
True if the given mode is covered by the current development mode, false otherwise.
Function Information
Since Version
6.3.0
Source File
wp-includes/load.php
Advertisement