Elgg
Version 2.3
docs
examples
hooks
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
}
elgg_trigger_plugin_hook
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Definition:
elgglib.php:826
$result
$result
The current value for the hook is passed into the trigger function.
Definition:
trigger.php:8
Generated on Fri Aug 29 2025 00:00:46 for Elgg by
1.9.1