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

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

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