[wp-trac] [WordPress Trac] #21596: enhance wp_get_archives to support post types
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 15 18:13:54 UTC 2012
#21596: enhance wp_get_archives to support post types
-------------------------+-----------------------------
Reporter: jjminkle | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21596>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list