messed with the get_post_types function to allow late loading