query.get_post

/ Database / query.get_post

Get post by post_slug and post_type. or by passing the post_id

Parameters supported : post_id, post_slug, post_type

It returns: Wordpress Post

Syntax:

[query.get_post post_id OR post_slug OR post_type /]


Example:

Categories
Most Popular

Leave a Reply

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