includes(); $this->init_hooks(); } /** * Include required files */ private function includes() { $this->db = new UncertifyAI_DB(); $this->api = new UncertifyAI_API(); $this->admin = new UncertifyAI_Admin( $this->api, $this->db ); $this->frontend = new UncertifyAI_Frontend( $this->api, $this->db ); } /** * Initialize WordPress hooks */ private function init_hooks() { register_activation_hook( __FILE__, array( $this->db, 'create_tables' ) ); // add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) ); } // /** // * Load plugin textdomain // */ // public function load_textdomain() { // load_plugin_textdomain( 'uncertifyai', false, dirname( UNCERTIFYAI_PLUGIN_BASENAME ) . '/languages' ); // } } // Initialize the plugin UncertifyAI_Content_Tools::get_instance();