Elgg  Version 1.9
trigger.php
Go to the documentation of this file.
1 <?php
8 $result = elgg_trigger_plugin_hook('get_status', 'example', null, true);
9 
10 if ($result) {
11  var_dump('Plugin hook says ok!');
12 } else {
13  var_dump('Plugin hook says no.');
14 }
$result
The current value for the hook is passed into the trigger function.
Definition: trigger.php:8
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Trigger a Plugin Hook and run all handler callbacks registered to that hook:type. ...
Definition: elgglib.php:925