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

register_plugin_hook('all', 'system', 'example_plugin_hook_handler');

// This function will be called for any event of type 'object'
function example_plugin_hook_handler($hook, $type, $value, $params) {
	// logic here.
}