disable(self::getIntegrationName()); } public static function uninstall(): void { if (!self::loadAcyMailingLibrary()) { return; } $pluginClass = new PluginClass(); $pluginClass->deleteByFolderName(self::getIntegrationName()); } public function register(array &$integrations, string $acyVersion): void { if (version_compare($acyVersion, '10.1.0', '>=')) { $integrations[] = [ 'path' => __DIR__, 'className' => self::INTEGRATION_PLUGIN_NAME, ]; } } public function addRegistrationFields() { if (!self::loadAcyMailingLibrary()) { return; } $config = acym_config(); $displayOnExternalPlugin = $config->get('regacy_use_ultimate_member', 0) == 1; if (!$config->get('regacy', 0) || !$displayOnExternalPlugin) { return; } $regacyHelper = new RegacyHelper(); if (!$regacyHelper->prepareLists(['formatted' => true])) { return; } ?>
listsHtml, [ 'table' => ['class' => [], 'style' => []], 'tr' => ['style' => []], 'td' => ['style' => []], 'input' => [ 'type' => [], 'name' => [], 'id' => [], 'value' => [], 'class' => [], 'checked' => [], ], 'label' => ['for' => [], 'class' => []], ] ); ?>