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:

Description

Checks whether the site is in the given development mode.

Related Functions

wp_get_development_mode, wp_register_development_scripts, wp_is_recovery_mode, wp_is_maintenance_mode, wp_is_file_mod_allowed

Top Google Results

User discussions

wpseek mobile