Support for $type array used in badgeos_ajax_get_achievements for get_post_type_object and the badgeos_get_user_achievements function utilized by badgeos_get_user_earned_achievement_ids