Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
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
}
$result
$result
The current value for the hook is passed into the trigger function.
Definition:
trigger.php:8
elgg_trigger_plugin_hook
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Definition:
elgglib.php:826
Generated on Mon Dec 2 2024 00:01:30 for Elgg by
1.8.11