Viewing 1 reply thread
  • Author
    • #11069

      There’s a function or whatever that give me all custom fields (not only the fields filled with a value in a specific post) of a specific custom post type ?
      Maybe it’s more simple that it’s seems but I cant find how to do that.
      Please help me!

    • #11070

      Piklist doesn’t have a function to do that.

      However, when you save a page that has Piklist fields, even empty fields get saved (if you choose not to make a choice, Piklist considers that a choice). You can retrieve all custom fields using the WordPress function get_post_custom : https://developer.wordpress.org/reference/functions/get_post_custom/

Viewing 1 reply thread
  • The topic ‘get all custom fields of a custom post’ is closed to new replies.