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

register_elgg_event_handler('test', 'example', 'example_init_system_callback');

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