/** * Creates or returns an instance of this class. * @since 0.1.0 * @return Etsy_Importer A single instance of this class. */ public static function engage() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }
/** * Wrapper function around cmb2_get_option * @since 0.1.0 * @param string $key Options array key * @return mixed Option value */ function etsy_options_get_option($key = '') { return cmb2_get_option(Etsy_Importer::engage()->admin->key, $key); }