aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/register/all.php
blob: 6c23ed56bf9ce7e812f87cd7a68ecd0e6bc5ca6a (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 hook of type 'system'
function example_plugin_hook_handler($hook, $type, $value, $params) {
	// logic here.
}