Handy mysql query to get all custom keys and values for a post in wordpress.
SELECT wp_postmeta.* FROM wp_postmeta JOIN wp_posts ON wp_posts.ID = wp_postmeta.post_id WHERE wp_posts.ID = 5671
Here is sample outcome from the above query:
Handy mysql query to get all custom keys and values for a post in wordpress.
SELECT wp_postmeta.* FROM wp_postmeta JOIN wp_posts ON wp_posts.ID = wp_postmeta.post_id WHERE wp_posts.ID = 5671
Here is sample outcome from the above query: