wp_is_development_mode
wp_is_development_mode ( $mode )
Parameters:- (string) mode Development mode to check for. Either 'core', 'plugin', 'theme', or 'all'.
Returns:- (bool) True if the given mode is covered by the current development mode, false otherwise.
Defined at: - Introduced in WordPress: 6.3.0
- Deprecated in WordPress: —
Description
Checks whether the site is in the given development mode.