| @@ -215,8 +215,14 @@ | ||
| 215 | 215 | */ |
| 216 | 216 | require plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tracking-providers/class-routeapp-woo-orders-tracking.php'; |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | + * The class responsible for integrate the Woo Orders Tracking plugin | |
| 220 | + */ | |
| 221 | + require plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tracking-providers/class-routeapp-woocommerce-orders-tracking.php'; | |
| 222 | + | |
| 223 | + | |
| 224 | + /** | |
| 219 | 225 | * The class responsible for integrate the Aftership Shipment Tracking plugin |
| 220 | 226 | */ |
| 221 | 227 | require plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tracking-providers/class-routeapp-aftership-shipment-tracking.php'; |
| 222 | 228 | |
| @@ -270,8 +276,18 @@ | ||
| 270 | 276 | */ |
| 271 | 277 | require plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tracking-providers/class-routeapp-shipworks.php'; |
| 272 | 278 | |
| 273 | 279 | /** |
| 280 | + * The class responsible for integrate the Pirate Ship external provider | |
| 281 | + */ | |
| 282 | + require plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tracking-providers/class-routeapp-pirate-ship.php'; | |
| 283 | + | |
| 284 | + /** | |
| 285 | + * The class responsible for integrate the WooCommerce UPS Shipping Method plugin | |
| 286 | + */ | |
| 287 | + require plugin_dir_path( dirname( __FILE__ ) ) . 'includes/tracking-providers/class-routeapp-ups-shipping.php'; | |
| 288 | + | |
| 289 | + /** | |
| 274 | 290 | * The class responsible for defining Woocommerce cron jobs functionality |
| 275 | 291 | * of the plugin. |
| 276 | 292 | */ |
| 277 | 293 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-routeapp-cron-schedules.php'; |
| @@ -297,9 +313,16 @@ | ||
| 297 | 313 | /** |
| 298 | 314 | * This class is responsible to create user and merchant account if it's not defined |
| 299 | 315 | */ |
| 300 | 316 | require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-routeapp-setup.php'; |
| 317 | + Route_Setup::init_ownership_routing(); | |
| 301 | 318 | |
| 319 | + /** | |
| 320 | + * The class responsible for defining Woocommerce ajax functionality | |
| 321 | + * of the plugin. | |
| 322 | + */ | |
| 323 | + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-routeapp-order-recover.php'; | |
| 324 | + | |
| 302 | 325 | $this->loader = new Routeapp_Loader(); |
| 303 | 326 | |
| 304 | 327 | } |
| 305 | 328 | |
| @@ -378,9 +401,10 @@ | ||
| 378 | 401 | public function define_include_hooks() { |
| 379 | 402 | $classes = array( |
| 380 | 403 | 'Routeapp_Woocommerce', |
| 381 | 404 | 'Routeapp_Cron_Schedules', |
| 382 | - 'Routeapp_Plugin_Integrations' | |
| 405 | + 'Routeapp_Plugin_Integrations', | |
| 406 | + 'Routeapp_Order_Recover' | |
| 383 | 407 | ); |
| 384 | 408 | |
| 385 | 409 | foreach ($classes as $class) { |
| 386 | 410 | new $class(); |