I would like to know which could be more performant between these two approaches of getting data of a post
-
To use a loop after a
WP_Query($aConditions)
and use functions likeget_the_title()
… and all the similar functions without passing any parameters -
To call
get_the_title($postID)
with the parameter outside the loop