Edit File by line
/home/barbar84/public_h.../wp-inclu.../Requests
File: Hooker.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Event dispatcher
[2] Fix | Delete
*
[3] Fix | Delete
* @package Requests
[4] Fix | Delete
* @subpackage Utilities
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/**
[8] Fix | Delete
* Event dispatcher
[9] Fix | Delete
*
[10] Fix | Delete
* @package Requests
[11] Fix | Delete
* @subpackage Utilities
[12] Fix | Delete
*/
[13] Fix | Delete
interface Requests_Hooker {
[14] Fix | Delete
/**
[15] Fix | Delete
* Register a callback for a hook
[16] Fix | Delete
*
[17] Fix | Delete
* @param string $hook Hook name
[18] Fix | Delete
* @param callback $callback Function/method to call on event
[19] Fix | Delete
* @param int $priority Priority number. <0 is executed earlier, >0 is executed later
[20] Fix | Delete
*/
[21] Fix | Delete
public function register($hook, $callback, $priority = 0);
[22] Fix | Delete
[23] Fix | Delete
/**
[24] Fix | Delete
* Dispatch a message
[25] Fix | Delete
*
[26] Fix | Delete
* @param string $hook Hook name
[27] Fix | Delete
* @param array $parameters Parameters to pass to callbacks
[28] Fix | Delete
* @return boolean Successfulness
[29] Fix | Delete
*/
[30] Fix | Delete
public function dispatch($hook, $parameters = array());
[31] Fix | Delete
}
[32] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function