[wp-hackers] multiple calls to get_post_meta back to back as opposed to one call

Helen Hou-Sandi helen.y.hou at gmail.com
Thu Feb 7 21:42:04 UTC 2013


Post meta is cached when the post is retrieved, unless you specifically
turn it off (which would be self-defeating here), so the latter will not
force 10 SQL queries, and in fact, may not add any at all. See
http://wordpress.stackexchange.com/a/39932/2226

Also: see get_post_custom().


More information about the wp-hackers mailing list