Beispiel #1
0
 /**
  * Look for and run actions at a given plugin hook
  *
  * @param string $hook name of the plugin hook
  * @param bool $perform false to check existence, true to actually run
  * @param string $folder name of plugin folder
  * @param array $parameters mixed values passed from plugin hook
  * @return array | bool
  */
 public function pluginHook($hook = '', $folder = '', $parameters = array(), $exclude = array())
 {
     $pluginFunctions = new PluginFunctions();
     return $pluginFunctions->pluginHook($this, $hook, $folder, $parameters, $exclude);
 }