Function __global->support_smart_decaching

Definitions

sources/global3.php

  • Whether smart decaching is enabled. It is slightly inefficient but makes site development easier for people.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$support_temporary_disable boolean No No False N/A N/A Support it being temporarily disabled

Returns

  • If smart decaching is enabled
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Whether smart decaching is enabled. It is slightly inefficient but makes site development easier for people.
 *
 * @param  boolean $support_temporary_disable Support it being temporarily disabled
 * @return boolean If smart decaching is enabled
 */

function support_smart_decaching(bool $support_temporary_disable = false) : bool