diff options
Diffstat (limited to 'documentation/examples/events/basic.php')
-rw-r--r-- | documentation/examples/events/basic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/examples/events/basic.php b/documentation/examples/events/basic.php index b274137b8..91704e60b 100644 --- a/documentation/examples/events/basic.php +++ b/documentation/examples/events/basic.php @@ -1,6 +1,6 @@ <?php -register_elgg_event_handler('init', 'system', 'example_event_handler'); +elgg_register_event_handler('init', 'system', 'example_event_handler'); function example_event_handler($event, $type, $params) { var_dump($event); |