mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-15 18:24:56 +02: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