diff --git a/api/rest-api-filters/hook.php b/api/rest-api-filters/hook.php index 0cb88b9d296..d82985b1852 100644 --- a/api/rest-api-filters/hook.php +++ b/api/rest-api-filters/hook.php @@ -37,7 +37,7 @@ add_filter( $data = $response->get_data(); - foreach ( $filters as $filter ) { + foreach ( $filters as $filter ) { array_dot_set( $data, $filter['dot_notation'], $filter['replacement'] ); }