[wp-hackers] $wp_taxonomies is pretty strange - change appreciated

24/7 24-7 at gmx.net
Thu Feb 10 21:58:34 UTC 2011


ehm... have to write another mail: there's no way around
$wp_taxonomies. Even if it's internal. get_taxonomies() gives you the
taxonomies and allows to differ between builtin and custom types, but
is missing the post types. The original question was "It is possible
to get a list of post types asociated to a taxonomy?". The guy who
asked wanted all unique custom post type names that are assigned to
custom post types, so the original answer on wp stackechange was right
and there's no solution without $wp_taxonomies.


More information about the wp-hackers mailing list