Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #11069
      pozzerfield
      Participant

      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
      Steve
      Keymaster

      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
  • You must be logged in to reply to this topic.