[wp-hackers] get_categories() add post type to arguments?

Radi Varbanov aparoph at gmail.com
Mon Apr 1 17:04:14 UTC 2013


My problem is not with taxonomies, but post types.
Does it make sense?


On Thu, Mar 28, 2013 at 11:38 PM, joseph gabito <dunhakdis at gmail.com> wrote:

> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list