The Simpler Way to Access Post Meta in WordPress

Access post meta the simple way. Forget trying to remember the complex get_post_meta() function, just use this instead:

$post->foo

Yup, it’s magic and I can’t believe I’ve just found out about it!

Credit: Ian Dunn

Posted on 5th February 2017

Related articles

Notes to your inbox

Be notified when I post something new. Occasional, short emails. Nothing fancy, just links to new articles and content.

I respect your inbox. No spam. Unsubscribe with just a click.


What I'm doing
My now page shows what I'm focusing my efforts on.

Send me an email
dave@daveredfern.com

Follow me online
Twitter
LinkedIn
Github

Photography
Gallery
Instagram