mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-23 14:36:22 +01:00
New filter: HOOK_FILTER_ROUTES
This commit is contained in:
@@ -198,6 +198,9 @@ class Plugins {
|
||||
}
|
||||
}
|
||||
|
||||
global $hooks;
|
||||
$hooks->triggerFilter(HOOK_FILTER_ROUTES, $routes);
|
||||
|
||||
usort($routes, function ($a, $b)
|
||||
{
|
||||
// key 3 is priority
|
||||
|
||||
Reference in New Issue
Block a user