aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/trigger/advanced.php
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/examples/hooks/trigger/advanced.php')
-rw-r--r--documentation/examples/hooks/trigger/advanced.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/examples/hooks/trigger/advanced.php b/documentation/examples/hooks/trigger/advanced.php
index de33e7a10..5901a06e0 100644
--- a/documentation/examples/hooks/trigger/advanced.php
+++ b/documentation/examples/hooks/trigger/advanced.php
@@ -2,7 +2,7 @@
$default = array('Entry 1', 'Entry 2', 'Entry 3');
-$menu = trigger_plugin_hook('get_menu_items', 'menu', null, $default);
+$menu = elgg_trigger_plugin_hook('get_menu_items', 'menu', null, $default);
foreach ($menu as $item) {
var_dump($item);