| @@ -54,11 +54,8 @@ | ||
| 54 | 54 | * |
| 55 | 55 | * @return array REST API controllers. |
| 56 | 56 | */ |
| 57 | 57 | public static function register_controllers( array $controllers ): array { |
| 58 | - // Reason: Init::hook_rows() retains these registrars here, not at plugins_loaded. | |
| 59 | - // Moving them earlier changes hook visibility and same-priority extension ordering | |
| 60 | - // before woocommerce_pos_rest_api_controllers runs (including unmarked requests). | |
| 61 | 58 | Response_Telemetry::register_hooks(); |
| 62 | 59 | Retry_After_Mirror::register_hooks(); |
| 63 | 60 | Response_Envelope::register_hooks(); |
| 64 | 61 | $controllers['sync-status'] = Status_Controller::class; |