Function __global->hook_exists

Definitions

sources/zones.php

  • Check if a given hook exists.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$type ID_TEXT required parameter N/A N/A The type of hook
$subtype ID_TEXT required parameter N/A N/A The hook sub-type to find hook implementations for (e.g. the name of a module)
$hook ID_TEXT required parameter N/A N/A The name of the hook

Return

  • Whether or not the hook exists
  • Type: boolean
  • Set: N/A
  • Range: N/A