Elgg  Version 1.9
basic.php
Go to the documentation of this file.
1 <?php
7 elgg_register_plugin_hook_handler('forward', '404', 'example_plugin_hook_handler');
8 
10  var_dump($hook);
11  var_dump($type);
12  var_dump($value);
13  var_dump($params);
14 
15  // we are not changing $value so return null
16  return null;
17 }
$value
Definition: longtext.php:29
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)
Register a callback as a plugin hook handler.
Definition: elgglib.php:853
$params
Definition: login.php:72
example_plugin_hook_handler($hook, $type, $value, $params)
Definition: basic.php:9
$type
Definition: add.php:8