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!
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/
Author
Posts
Viewing 1 reply thread
The topic ‘get all custom fields of a custom post’ is closed to new replies.
This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies. Find out more.