Elgg
Version 1.9
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:29
elgg_register_plugin_hook_handler
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)
Register a callback as a plugin hook handler.
Definition:
elgglib.php:853
$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 Fri Oct 11 2024 00:00:38 for Elgg by
1.8.11