diff options
Diffstat (limited to 'documentation/examples/hooks/register/all.php')
-rw-r--r-- | documentation/examples/hooks/register/all.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/examples/hooks/register/all.php b/documentation/examples/hooks/register/all.php index 6c23ed56b..0ff19bc86 100644 --- a/documentation/examples/hooks/register/all.php +++ b/documentation/examples/hooks/register/all.php @@ -1,6 +1,6 @@ <?php -register_plugin_hook('all', 'system', 'example_plugin_hook_handler'); +elgg_register_plugin_hook_handler('all', 'system', 'example_plugin_hook_handler'); // This function will be called for any hook of type 'system' function example_plugin_hook_handler($hook, $type, $value, $params) { |