aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/register/basic.php
blob: 20493e200569c2504170261b553c947b31f7818f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

elgg_register_plugin_hook_handler('forward', 'system', 'example_plugin_hook_handler');

function example_plugin_hook_handler($event, $type, $value, $params) {
	var_dump($event);
	var_dump($type);
	var_dump($value);
	var_dump($params);
	
	return true;
}