query.get_post_meta

/ Database / query.get_post_meta

Calls get_post_meta. key is used to retrieve specific key meta. By default, returns data for all keys

Parameters supported : post_id, key, single

It returns: (mixed) Will be an array if single is false. Will be value of meta data field if single is true.

It returns: Wordpress Post

Syntax:

[query.get_post_meta post_id OR key OR single /]


Example:

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *