admin = new AccessLens_Admin(); $this->ajax = new AccessLens_Ajax( new AccessLens_Engine_Client() ); $this->admin->register(); $this->ajax->register(); // Note: load_plugin_textdomain() is called separately on 'init' in the // main plugin file (accesslens.php), not here. } /** * Get or create singleton instance. */ public static function get_instance(): self { if ( null === self::$instance ) { self::$instance = new self(); } return self::$instance; } }