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

register_plugin_hook('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;
}