| @@ -57,13 +57,8 @@ | ||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | $queryGroup->{$method}(function ($q) use ($group) { |
| 60 | 60 | foreach ($group as $providerName => $items) { |
| 61 | - $oldHook = 'fluentcart/orders_filter_' . $providerName; | |
| 62 | - if (has_action($oldHook)) { | |
| 63 | - _deprecated_hook($oldHook, '1.3.16', 'fluent_cart/orders_filter_' . $providerName, 'Use fluent_cart/orders_filter_' . $providerName . ' instead of ' . $oldHook . '. It will be removed in v1.4.3.'); | |
| 64 | - do_action_ref_array($oldHook, [&$q, $items]); | |
| 65 | - } | |
| 66 | 61 | do_action_ref_array('fluent_cart/orders_filter_' . $providerName, [&$q, $items]); |
| 67 | 62 | } |
| 68 | 63 | }); |
| 69 | 64 | } |