| 1 |
<?php |
| 2 |
|
| 3 |
namespace StoreEngine; |
| 4 |
|
| 5 |
if ( ! defined( 'ABSPATH' ) ) { |
| 6 |
exit; // Exit if accessed directly. |
| 7 |
} |
| 8 |
|
| 9 |
class Shortcode { |
| 10 |
|
| 11 |
public static function init() { |
| 12 |
$self = new self(); |
| 13 |
$self->dispatch_shortcode(); |
| 14 |
} |
| 15 |
|
| 16 |
public function dispatch_shortcode() { |
| 17 |
new Shortcode\Products(); |
| 18 |
new Shortcode\ProductsSidebar(); |
| 19 |
new Shortcode\ProductsArchive(); |
| 20 |
new Shortcode\Login(); |
| 21 |
new Shortcode\FrontendDashboard(); |
| 22 |
new Shortcode\ArchiveHeaderFilter(); |
| 23 |
new Shortcode\SingleProduct(); |
| 24 |
new Shortcode\ProceedToCheckout(); |
| 25 |
new Shortcode\ContinueShopping(); |
| 26 |
new Shortcode\CartListTable(); |
| 27 |
new Shortcode\CartSubTotalTable(); |
| 28 |
new Shortcode\ApplyCouponForm(); |
| 29 |
new Shortcode\CheckoutForm(); |
| 30 |
new Shortcode\OrderSummary(); |
| 31 |
new Shortcode\ThankyouOrderInfo(); |
| 32 |
new Shortcode\ThankyouPaymentInstructions(); |
| 33 |
new Shortcode\OrderDetails(); |
| 34 |
new Shortcode\OrderDownloads(); |
| 35 |
new Shortcode\OrderBillingAddress(); |
| 36 |
new Shortcode\OrderShippingAddress(); |
| 37 |
new Shortcode\ProductDescription(); |
| 38 |
new Shortcode\AddToCart(); |
| 39 |
new Shortcode\MiniCart(); |
| 40 |
new Shortcode\SingleProductCartNotice(); |
| 41 |
new Shortcode\SingleProductGallery(); |
| 42 |
new Shortcode\SingleProductSummary(); |
| 43 |
new Shortcode\SingleProductDescription(); |
| 44 |
new Shortcode\SingleProductComments(); |
| 45 |
new Shortcode\SingleProductReviews(); |
| 46 |
} |
| 47 |
} |
| 48 |
|