[wp-hackers] Attaching a Taxonomy on Posts?
Dion Hulse (dd32)
wordpress at dd32.id.au
Sat Jul 9 02:02:39 UTC 2011
You can include this in a plugin on a hook that runs later than
whatever the taxonomy is registered at (or at a "higher" priority):
register_taxonomy_for_object_type( $taxonomy, $object_type )
Note however, that this doesn't mean that it'll work with all plugins
which are hard coded to a single post type.
On 9 July 2011 11:41, Vassilis Mastorostergios <vmasto at gmail.com> wrote:
> Hi all,
> Probably an easy question but still I need to know if there actually is a
> safe way of doing this:
> Say a plugin creates a custom taxonomy and attaches it to some custom post
> type. Is there a safe way to attach that same taxonomy to Posts without
> messing with the plugin code?
> Thanks in advance!
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers