aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/register/basic.php
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/examples/hooks/register/basic.php')
-rw-r--r--documentation/examples/hooks/register/basic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/examples/hooks/register/basic.php b/documentation/examples/hooks/register/basic.php
index 4cedbf0fd..20493e200 100644
--- a/documentation/examples/hooks/register/basic.php
+++ b/documentation/examples/hooks/register/basic.php
@@ -1,6 +1,6 @@
<?php
-register_plugin_hook('forward', 'system', 'example_plugin_hook_handler');
+elgg_register_plugin_hook_handler('forward', 'system', 'example_plugin_hook_handler');
function example_plugin_hook_handler($event, $type, $value, $params) {
var_dump($event);