[wp-hackers] Global call to all object types

Andrew Nacin wp at andrewnacin.com
Tue Jul 20 09:38:21 UTC 2010


On Tue, Jul 20, 2010 at 12:53 AM, Angelia Baladon
<angelia at 10sexyapples.com>wrote:

> Hello all,
> I'm still searching for how to create a checkbox within a form that will
> allow a user to select "link" as the object type when registering a custom
> taxonomy.
>
> I was initially trying to figure out if there was any way to make a call to
> "all object types", but, doesn't look like anybody had anything for me on
> that~
>
> Any help would be greatly appreciated~


You could merge get_post_types() with array('link'). Not sure there's a
better way to pull that one off.

I would not at all be surprised for links to become custom post types in the
near future.


More information about the wp-hackers mailing list