Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
docs
examples
hooks
basic.php
Go to the documentation of this file.
1
<?php
7
elgg_register_plugin_hook_handler
(
'forward'
,
'404'
,
'example_plugin_hook_handler'
);
8
9
function
example_plugin_hook_handler
($hook,
$type
,
$value
,
$params
) {
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
$value
Definition:
longtext.php:26
elgg_register_plugin_hook_handler
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)
Definition:
elgglib.php:703
$params
$params
Definition:
login.php:72
example_plugin_hook_handler
example_plugin_hook_handler($hook, $type, $value, $params)
Definition:
basic.php:9
$type
$type
Definition:
add.php:8
Generated on Sat Dec 21 2024 00:00:49 for Elgg by
1.8.11