Files
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

22 lines
432 B
PHP

<?php
namespace luckywp\cookieNoticeGdpr\plugin;
use luckywp\cookieNoticeGdpr\core\base\BaseObject;
use luckywp\cookieNoticeGdpr\core\Core;
class Activation extends BaseObject
{
public function init()
{
register_activation_hook(Core::$plugin->fileName, [$this, 'activate']);
}
public function activate()
{
Core::$plugin->loadTextDomain();
Core::$plugin->settings->install();
}
}