[wp-hackers] get_categories() add post type to arguments?
joseph gabito
dunhakdis at gmail.com
Fri Mar 29 03:38:54 UTC 2013
You're doing it wrong. get_categories() function supports custom taxonomy.
With this, you need to create a custom taxonomy for your post type.
On Mon, Mar 25, 2013 at 9:46 AM, Radi Varbanov <aparoph at gmail.com> wrote:
> As of right now the function does not let you specify post type.
> Would it be possible to add post_type to the arguments for get_categories()
> ?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
dunhakdis
More information about the wp-hackers
mailing list