enhance wp_get_archives to support post types
|Reported by:||jjminkle||Owned by:|
I needed to populate an option list of a form with the titles of custom post types. It seemed like wp_get_archives would do the trick, except there was no way to tell it to grab a post_type. So I enhanced wp_get_archives to support and additional parameter.