PluginProbe
StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates & More / 2.1.0
StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates & More v2.1.0
2.3.0 2.2.0 2.1.1 2.1.0 2.0.0 1.10.0 1.9.1 1.9.0 1.2.1 1.2.2 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 All 59 releases
storeengine / includes / ajax.php

ajax.php in StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates & More 2.1.0, at includes/ajax.php

43 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace StoreEngine;
3
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7
8 use StoreEngine\Ajax\Addons;
9 use StoreEngine\Ajax\Attributes;
10 use StoreEngine\Ajax\Checkout;
11 use StoreEngine\Ajax\Customers;
12 use StoreEngine\Ajax\Dashboard;
13 use StoreEngine\Ajax\Order;
14 use StoreEngine\Ajax\Posts;
15 use StoreEngine\Ajax\Product;
16 use StoreEngine\Ajax\Settings;
17 use StoreEngine\Ajax\Setup;
18 use StoreEngine\Ajax\Shipping;
19 use StoreEngine\Ajax\Tools;
20
21 class Ajax {
22 public static function init() {
23 $self = new self();
24 $self->dispatch_hooks();
25 }
26
27 public function dispatch_hooks() {
28 ( new Product() )->dispatch_actions();
29 ( new Posts() )->dispatch_actions();
30 ( new Settings() )->dispatch_actions();
31 ( new Customers() )->dispatch_actions();
32 ( new Checkout() )->dispatch_actions();
33 ( new Attributes() )->dispatch_actions();
34 ( new Addons() )->dispatch_actions();
35 ( new Tools() )->dispatch_actions();
36 ( new Order() )->dispatch_actions();
37 ( new Shipping() )->dispatch_actions();
38 ( new Dashboard() )->dispatch_actions();
39 ( new Setup() )->dispatch_actions();
40 ( new \StoreEngine\Backup\BackupAjaxHandler() )->dispatch_actions();
41 }
42 }
43