meout'] ); unset( $args['blocking'] ); } $response = wp_remote_post( CronConversionEndpoint::get_route_url(), $args ); if ( $service_mode && $upload_request ) { $this->cron_status_manager->set_conversion_request_response( $response ); } } /** * @return void */ private function try_restart_conversion() { $plugin_settings = $this->plugin_data->get_plugin_settings(); $cron_enabled = in_array( ExtraFeaturesOption::OPTION_VALUE_CRON_ENABLED, $plugin_settings[ ExtraFeaturesOption::OPTION_NAME ] ); $this->cron_status_manager->reset_conversion_request_id(); if ( ! $cron_enabled || ! $this->cron_status_manager->get_paths_counter() ) { return; } $this->refresh_paths_to_conversion( true ); $this->init_async_conversion(); } }