/** * Returns the instance. * * @since 1.0.0 * @return object */ public static function get_instance() { // If the single instance hasn't been set, set it now. if (null == self::$instance) { self::$instance = new self(); } return self::$instance; }
/** * On plugin activation. * * @since 1.0.0 */ public static function activation() { Cherry_Team_Registration::register_post(); Cherry_Team_Registration::register_tax(); flush_rewrite_rules(); }