Post formats are not registered for custom post types
-
Hi,
investigating about an issue with my plugin, I found that if I create a custom post type with Pods, and add support for post formats to it, the taxonomy post_format is not registered for the custom post type, so (for example) using get_object_taxonomies doesn’t return post_format among its results.
Here I found a (closed) bug report for WP core: it seems that adding post support is not enough and the taxonomy has to be registered explicitly.
I suppose it’s really a rare case, but I thought it would be better to tell you about it…Keep up the good work!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Post formats are not registered for custom post types’ is closed to new replies.