aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/register/emit.php
blob: 8382d72ca7fc1bec2564fada1b98e47774e79840 (plain)
1
2
3
4
5
6
7
<?php

// @todo this is an event, not a hook
elgg_register_event_handler('test', 'example', 'example_init_system_callback');

$params = new ElggObject();
elgg_trigger_event('test', 'example', $params);