Styling fix
This commit is contained in:
parent
7ae6f3e584
commit
c3ad996eb2
|
@ -28,12 +28,14 @@ add_filter(
|
|||
return $response;
|
||||
}
|
||||
$route = $request->get_route();
|
||||
$filters = array_filter( $filters, function( $filter ) use ( $request, $route ) {
|
||||
$filters = array_filter(
|
||||
$filters, function ( $filter ) use ( $request, $route ) {
|
||||
if ($filter['enabled'] && $filter['endpoint'] == $route ) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
$data = $response->get_data();
|
||||
|
||||
|
|
Loading…
Reference in New Issue