feat/fix: checkout email tracing, UI tweaks for add-to-cart, cart page overflow fix, implement hide admin bar setting
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Plugin Name: WooNooW
|
||||
* Description: The modern experience layer for WooCommerce (no migration, no risk).
|
||||
@@ -25,7 +26,7 @@ spl_autoload_register(function ($class) {
|
||||
});
|
||||
|
||||
// Load translations on init hook (WordPress 6.7+ requirement)
|
||||
add_action('init', function() {
|
||||
add_action('init', function () {
|
||||
load_plugin_textdomain('woonoow', false, dirname(plugin_basename(__FILE__)) . '/languages');
|
||||
});
|
||||
|
||||
@@ -37,17 +38,18 @@ add_action('plugins_loaded', function () {
|
||||
return;
|
||||
}
|
||||
WooNooW\Core\Bootstrap::init();
|
||||
|
||||
|
||||
// Initialize module settings
|
||||
WooNooW\Modules\NewsletterSettings::init();
|
||||
WooNooW\Modules\WishlistSettings::init();
|
||||
WooNooW\Modules\Licensing\LicensingModule::init();
|
||||
WooNooW\Modules\Subscription\SubscriptionModule::init();
|
||||
WooNooW\Modules\Software\SoftwareModule::init();
|
||||
});
|
||||
|
||||
// Activation/Deactivation hooks
|
||||
// Activation/Deactivation hooks
|
||||
register_activation_hook(__FILE__, function() {
|
||||
register_activation_hook(__FILE__, function () {
|
||||
WooNooW\Core\Installer::activate();
|
||||
WooNooW\Setup\DefaultPages::create_pages();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user