Custom post meta field effect on the performance on the post
I have the posts which have many custom defined meta fields.
On posts I am calling them on requirement using get_post_meta
. Means for 10 meta fields I am using it 10 times.
Am I doing it right? Means, is there any performance issue with the above method and if yes then how to reduce the number of calls.
I am aware of the answer available here: Custom Fields and performance which explains that the use of ‘single query’. But it is not clear and sound so asking again if somebody knows and want to share in detail.
Leave an answer