feat: Affiliate program enrichment (Link Builder, Curated Collections, Smart Links)
This commit is contained in:
@@ -28,6 +28,7 @@ use WooNooW\Branding;
|
||||
use WooNooW\Frontend\Assets as FrontendAssets;
|
||||
use WooNooW\Frontend\Shortcodes;
|
||||
use WooNooW\Frontend\TemplateOverride;
|
||||
use WooNooW\Frontend\SmartRotator;
|
||||
use WooNooW\Frontend\PageAppearance;
|
||||
|
||||
class Bootstrap {
|
||||
@@ -47,6 +48,7 @@ class Bootstrap {
|
||||
FrontendAssets::init();
|
||||
// Note: Shortcodes removed - WC pages now redirect to SPA routes via TemplateOverride
|
||||
TemplateOverride::init();
|
||||
SmartRotator::init();
|
||||
new PageAppearance();
|
||||
|
||||
// Activity Log
|
||||
@@ -75,6 +77,13 @@ class Bootstrap {
|
||||
// Load custom variation attributes for WooCommerce admin
|
||||
add_action('woocommerce_product_variation_object_read', [self::class, 'load_variation_attributes']);
|
||||
}
|
||||
|
||||
public static function init_frontend() {
|
||||
Shortcodes::init();
|
||||
TemplateOverride::init();
|
||||
SmartRotator::init();
|
||||
PageAppearance::init();
|
||||
}
|
||||
|
||||
/**
|
||||
* Properly initialize WooCommerce cart for REST API requests
|
||||
|
||||
Reference in New Issue
Block a user