Grab all key/values from custom fields
-
Hey all,
I’m trying to come up with a solution that enables me to show values from custom fields across three different post types. Here’s a bland example:
I use custom fields in three custom post types. The keys are email. The values are an actual email address. What I would like to do is grab all the values from every single post and spit them out in a list.
So:
post_type 1 [email protected] [email protected] [email protected] [email protected] [email protected] post_type 2 [email protected] [email protected] [email protected] [email protected] [email protected] post_type 3 [email protected] [email protected] [email protected] [email protected] [email protected]
In a perfect world, I would like to be able to combine all these email addresses in to one single link where I could mass-email every address.
Dang, this seems pretty complicated. Any help would be super appreciated though. No plugins allowed!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Grab all key/values from custom fields’ is closed to new replies.