System:Bootstrap:callPluginHook

From Aspen Documentation

Calls plugins registered for any hooks. Hooks are to be defined within your application, or any Aspen hooks.

Since 1.0

Arguments

void callPluginHook ([string $hook_to_call = false], [array $plugins = false])

hook_to_call
The hook identification key. Any plugins connected with this key will be called.
plugins
An array of plugins. If false, the system will use it's own internal array of loaded plugins.

Returns

Does not currently return a value.


Examples

Example:

$this->APP->callPluginHook('hook-inside-your-module');