aboutsummaryrefslogtreecommitdiff
path: root/srcs/wordpress/wp-includes/Requests/Hooker.php
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/wordpress/wp-includes/Requests/Hooker.php')
-rw-r--r--srcs/wordpress/wp-includes/Requests/Hooker.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/srcs/wordpress/wp-includes/Requests/Hooker.php b/srcs/wordpress/wp-includes/Requests/Hooker.php
deleted file mode 100644
index f667ae9..0000000
--- a/srcs/wordpress/wp-includes/Requests/Hooker.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-/**
- * Event dispatcher
- *
- * @package Requests
- * @subpackage Utilities
- */
-
-/**
- * Event dispatcher
- *
- * @package Requests
- * @subpackage Utilities
- */
-interface Requests_Hooker {
- /**
- * Register a callback for a hook
- *
- * @param string $hook Hook name
- * @param callback $callback Function/method to call on event
- * @param int $priority Priority number. <0 is executed earlier, >0 is executed later
- */
- public function register($hook, $callback, $priority = 0);
-
- /**
- * Dispatch a message
- *
- * @param string $hook Hook name
- * @param array $parameters Parameters to pass to callbacks
- * @return boolean Successfulness
- */
- public function dispatch($hook, $parameters = array());
-} \ No newline at end of file