diff options
Diffstat (limited to 'documentation/examples/events/advanced.php')
-rw-r--r-- | documentation/examples/events/advanced.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/examples/events/advanced.php b/documentation/examples/events/advanced.php index c6fc2d0fb..f566e0006 100644 --- a/documentation/examples/events/advanced.php +++ b/documentation/examples/events/advanced.php @@ -1,6 +1,6 @@ <?php -register_elgg_event_handler('create', 'object', 'example_event_handler'); +elgg_register_event_handler('create', 'object', 'example_event_handler'); function example_event_handler($event, $type, $params) { // Don't allow any non-admin users to create objects |