25 $hooks = $this->getOrderedHandlers($hook,
$type);
27 foreach ($hooks as $callback) {
28 if (!is_callable($callback)) {
31 $this->logger->warn(
"handler for plugin hook [$hook, $type] is not callable: " 32 . $inspector->describeCallable($callback));
38 $temp_return_value = call_user_func_array($callback,
$args);
39 if (!is_null($temp_return_value)) {
40 $returnvalue = $temp_return_value;
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
trigger($hook, $type, $params=null, $returnvalue=null)
Triggers a plugin hook.