aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/register/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/examples/hooks/register/all.php')
-rw-r--r--documentation/examples/hooks/register/all.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/documentation/examples/hooks/register/all.php b/documentation/examples/hooks/register/all.php
deleted file mode 100644
index 0ff19bc86..000000000
--- a/documentation/examples/hooks/register/all.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-
-elgg_register_plugin_hook_handler('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.
-}