Skip to main content
2 of 2
deleted 5 characters in body
Nicolai Grossherr
  • 18.9k
  • 8
  • 64
  • 109

get meta fields and taxonomy of any post type

I have created 6 different custom post type, each having different post meta and taxonomies associated with it. I am displaying all different custom post types in a dropdown using get_post_types() function, Now, onchange of dropdown, I want to display associated meta fields and taxonomy.

I know that this information is not saved in DB unless a post is created, so is it possible to read this information like WordPress is reading or please suggest me if this is possible or not.