Function __global->cms_profile_is_enabled

Definitions

sources/profiler.php

  • Find whether profiling is enabled. This may be false due to the software still starting up, in which case it will be enabled later.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Returns

  • Whether profiling is enabled
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether profiling is enabled. This may be false due to the software still starting up, in which case it will be enabled later.
 *
 * @return boolean Whether profiling is enabled
 */

function cms_profile_is_enabled() : bool