What is the best way to display/dump all custom fields associated with a post? It doesn't have to be pretty, I just need to verify what is being saved in what field array for debugging.
Thanks!
|
What is the best way to display/dump all custom fields associated with a post? It doesn't have to be pretty, I just need to verify what is being saved in what field array for debugging. Thanks! |
|||
|
|
|
you can use get_post_custom() which returns a multidimensional array with all custom fields of a particular post or page:
|
|||||||
|