diff --git a/inc/main.php b/inc/main.php index ee55eb0..13ef801 100644 --- a/inc/main.php +++ b/inc/main.php @@ -19,7 +19,7 @@ use TLA_Media\GTM_Kit\Frontend\Frontend; use TLA_Media\GTM_Kit\Frontend\UserData; use TLA_Media\GTM_Kit\Admin\GeneralOptionsPage; -use TLA_Media\GTM_Kit\Installation\Installation; +use TLA_Media\GTM_Kit\Installation\Activation; use TLA_Media\GTM_Kit\Installation\Upgrade; use TLA_Media\GTM_Kit\Integration\ContactForm7; use TLA_Media\GTM_Kit\Integration\EasyDigitalDownloads; @@ -38,7 +38,7 @@ * Plugin activation hook. */ function gtmkit_plugin_activation(): void { - new Installation(); + new Activation(); do_action( 'gtmkit_activate' ); } diff --git a/src/Installation/Installation.php b/src/Installation/Activation.php similarity index 96% rename from src/Installation/Installation.php rename to src/Installation/Activation.php index 4c8a2bf..4cf7d12 100644 --- a/src/Installation/Installation.php +++ b/src/Installation/Activation.php @@ -10,9 +10,9 @@ use TLA_Media\GTM_Kit\Options; /** - * Installation + * Activation */ -final class Installation { +final class Activation { /** * Checks if GTM Kit is installed for the first time. diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 752367f..3d84a10 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -6,29 +6,29 @@ $baseDir = dirname($vendorDir); return array( - 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', - 'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => $baseDir . '/src/Admin/AbstractOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\Analytics' => $baseDir . '/src/Admin/Analytics.php', - 'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => $baseDir . '/src/Admin/GeneralOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => $baseDir . '/src/Admin/HelpOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => $baseDir . '/src/Admin/IntegrationsOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => $baseDir . '/src/Admin/MetaBox.php', - 'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => $baseDir . '/src/Admin/OptionTab.php', - 'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => $baseDir . '/src/Admin/OptionTabs.php', - 'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => $baseDir . '/src/Admin/OptionsForm.php', - 'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => $baseDir . '/src/Admin/SetupWizard.php', - 'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => $baseDir . '/src/Common/RestAPIServer.php', - 'TLA_Media\\GTM_Kit\\Common\\Util' => $baseDir . '/src/Common/Util.php', - 'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => $baseDir . '/src/Frontend/BasicDatalayerData.php', - 'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => $baseDir . '/src/Frontend/Frontend.php', - 'TLA_Media\\GTM_Kit\\Frontend\\UserData' => $baseDir . '/src/Frontend/UserData.php', - 'TLA_Media\\GTM_Kit\\Installation\\Installation' => $baseDir . '/src/Installation/Installation.php', - 'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => $baseDir . '/src/Installation/PluginDataImport.php', - 'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => $baseDir . '/src/Installation/Upgrade.php', - 'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => $baseDir . '/src/Integration/AbstractEcommerce.php', - 'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => $baseDir . '/src/Integration/AbstractIntegration.php', - 'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => $baseDir . '/src/Integration/ContactForm7.php', - 'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => $baseDir . '/src/Integration/EasyDigitalDownloads.php', - 'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => $baseDir . '/src/Integration/WooCommerce.php', - 'TLA_Media\\GTM_Kit\\Options' => $baseDir . '/src/Options.php', + 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', + 'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => $baseDir . '/src/Admin/AbstractOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\Analytics' => $baseDir . '/src/Admin/Analytics.php', + 'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => $baseDir . '/src/Admin/GeneralOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => $baseDir . '/src/Admin/HelpOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => $baseDir . '/src/Admin/IntegrationsOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => $baseDir . '/src/Admin/MetaBox.php', + 'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => $baseDir . '/src/Admin/OptionTab.php', + 'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => $baseDir . '/src/Admin/OptionTabs.php', + 'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => $baseDir . '/src/Admin/OptionsForm.php', + 'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => $baseDir . '/src/Admin/SetupWizard.php', + 'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => $baseDir . '/src/Common/RestAPIServer.php', + 'TLA_Media\\GTM_Kit\\Common\\Util' => $baseDir . '/src/Common/Util.php', + 'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => $baseDir . '/src/Frontend/BasicDatalayerData.php', + 'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => $baseDir . '/src/Frontend/Frontend.php', + 'TLA_Media\\GTM_Kit\\Frontend\\UserData' => $baseDir . '/src/Frontend/UserData.php', + 'TLA_Media\\GTM_Kit\\Installation\\Activation' => $baseDir . '/src/Installation/Installation.php', + 'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => $baseDir . '/src/Installation/PluginDataImport.php', + 'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => $baseDir . '/src/Installation/Upgrade.php', + 'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => $baseDir . '/src/Integration/AbstractEcommerce.php', + 'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => $baseDir . '/src/Integration/AbstractIntegration.php', + 'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => $baseDir . '/src/Integration/ContactForm7.php', + 'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => $baseDir . '/src/Integration/EasyDigitalDownloads.php', + 'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => $baseDir . '/src/Integration/WooCommerce.php', + 'TLA_Media\\GTM_Kit\\Options' => $baseDir . '/src/Options.php', ); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 2ac9b26..a71021e 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -7,45 +7,45 @@ class ComposerStaticInit3b585b55966a016a3d1b071eb261592a { public static $prefixLengthsPsr4 = array ( - 'T' => + 'T' => array ( 'TLA_Media\\GTM_Kit\\' => 18, ), ); public static $prefixDirsPsr4 = array ( - 'TLA_Media\\GTM_Kit\\' => + 'TLA_Media\\GTM_Kit\\' => array ( 0 => __DIR__ . '/../..' . '/src', ), ); public static $classMap = array ( - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', - 'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => __DIR__ . '/../..' . '/src/Admin/AbstractOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\Analytics' => __DIR__ . '/../..' . '/src/Admin/Analytics.php', - 'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => __DIR__ . '/../..' . '/src/Admin/GeneralOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => __DIR__ . '/../..' . '/src/Admin/HelpOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => __DIR__ . '/../..' . '/src/Admin/IntegrationsOptionsPage.php', - 'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => __DIR__ . '/../..' . '/src/Admin/MetaBox.php', - 'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => __DIR__ . '/../..' . '/src/Admin/OptionTab.php', - 'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => __DIR__ . '/../..' . '/src/Admin/OptionTabs.php', - 'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => __DIR__ . '/../..' . '/src/Admin/OptionsForm.php', - 'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => __DIR__ . '/../..' . '/src/Admin/SetupWizard.php', - 'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => __DIR__ . '/../..' . '/src/Common/RestAPIServer.php', - 'TLA_Media\\GTM_Kit\\Common\\Util' => __DIR__ . '/../..' . '/src/Common/Util.php', - 'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => __DIR__ . '/../..' . '/src/Frontend/BasicDatalayerData.php', - 'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => __DIR__ . '/../..' . '/src/Frontend/Frontend.php', - 'TLA_Media\\GTM_Kit\\Frontend\\UserData' => __DIR__ . '/../..' . '/src/Frontend/UserData.php', - 'TLA_Media\\GTM_Kit\\Installation\\Installation' => __DIR__ . '/../..' . '/src/Installation/Installation.php', - 'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => __DIR__ . '/../..' . '/src/Installation/PluginDataImport.php', - 'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => __DIR__ . '/../..' . '/src/Installation/Upgrade.php', - 'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => __DIR__ . '/../..' . '/src/Integration/AbstractEcommerce.php', - 'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => __DIR__ . '/../..' . '/src/Integration/AbstractIntegration.php', - 'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => __DIR__ . '/../..' . '/src/Integration/ContactForm7.php', - 'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => __DIR__ . '/../..' . '/src/Integration/EasyDigitalDownloads.php', - 'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => __DIR__ . '/../..' . '/src/Integration/WooCommerce.php', - 'TLA_Media\\GTM_Kit\\Options' => __DIR__ . '/../..' . '/src/Options.php', + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + 'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => __DIR__ . '/../..' . '/src/Admin/AbstractOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\Analytics' => __DIR__ . '/../..' . '/src/Admin/Analytics.php', + 'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => __DIR__ . '/../..' . '/src/Admin/GeneralOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => __DIR__ . '/../..' . '/src/Admin/HelpOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => __DIR__ . '/../..' . '/src/Admin/IntegrationsOptionsPage.php', + 'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => __DIR__ . '/../..' . '/src/Admin/MetaBox.php', + 'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => __DIR__ . '/../..' . '/src/Admin/OptionTab.php', + 'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => __DIR__ . '/../..' . '/src/Admin/OptionTabs.php', + 'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => __DIR__ . '/../..' . '/src/Admin/OptionsForm.php', + 'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => __DIR__ . '/../..' . '/src/Admin/SetupWizard.php', + 'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => __DIR__ . '/../..' . '/src/Common/RestAPIServer.php', + 'TLA_Media\\GTM_Kit\\Common\\Util' => __DIR__ . '/../..' . '/src/Common/Util.php', + 'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => __DIR__ . '/../..' . '/src/Frontend/BasicDatalayerData.php', + 'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => __DIR__ . '/../..' . '/src/Frontend/Frontend.php', + 'TLA_Media\\GTM_Kit\\Frontend\\UserData' => __DIR__ . '/../..' . '/src/Frontend/UserData.php', + 'TLA_Media\\GTM_Kit\\Installation\\Activation' => __DIR__ . '/../..' . '/src/Installation/Installation.php', + 'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => __DIR__ . '/../..' . '/src/Installation/PluginDataImport.php', + 'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => __DIR__ . '/../..' . '/src/Installation/Upgrade.php', + 'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => __DIR__ . '/../..' . '/src/Integration/AbstractEcommerce.php', + 'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => __DIR__ . '/../..' . '/src/Integration/AbstractIntegration.php', + 'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => __DIR__ . '/../..' . '/src/Integration/ContactForm7.php', + 'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => __DIR__ . '/../..' . '/src/Integration/EasyDigitalDownloads.php', + 'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => __DIR__ . '/../..' . '/src/Integration/WooCommerce.php', + 'TLA_Media\\GTM_Kit\\Options' => __DIR__ . '/../..' . '/src/Options.php', ); public static function getInitializer(ClassLoader $loader)