admin_menu(); } /** * Sets up the admin menu options. * * @since 0.0.2 * @access public */ public function admin_init() { Photos_Embed::get_instance(); Template_Kits::get_instance(); } public function db_upgrade_check() { if ( is_admin() && get_option( 'envato_elements_version' ) !== ENVATO_ELEMENTS_VER ) { $this->activation(); } } public function activation() { update_option( 'envato_elements_version', ENVATO_ELEMENTS_VER ); if ( ! get_option( 'envato_elements_install_time' ) ) { update_option( 'envato_elements_install_time', time() ); } } }