Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
docs
examples
hooks
all.php
Go to the documentation of this file.
1
<?php
7
elgg_register_plugin_hook_handler
(
'all'
,
'system'
,
'example_plugin_hook_handler'
);
8
9
// This function will be called for any hook of type 'system'
10
function
example_plugin_hook_handler
($hook,
$type
,
$value
,
$params
) {
11
// logic here.
12
}
$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
$type
$type
Definition:
add.php:8
example_plugin_hook_handler
example_plugin_hook_handler($hook, $type, $value, $params)
Definition:
all.php:10
Generated on Sat Dec 21 2024 00:00:49 for Elgg by
1.8.11