/** * Unregister a callback function for a specific (server-side) hook. * * @param string $hook Hook name * @param mixed $callback Callback function as string or array with object reference and method name */ public function remove_hook($hook, $callback) { $this->api->unregister_hook($hook, $callback); }