query.get_post
/ Database / query.get_post
Title | : | query.get_post | ||||||||
Purpose | : | Get post by post_slug and post_type or by passing the post_id | ||||||||
Syntax | : |
|
||||||||
Input Parameters | : | post_id: By passing post ID Post Slug and Post Type: By passing Post Slug and Post Type |
||||||||
Return Value | : | It will return post Data with all meta and taxonomy data | ||||||||
Example 1 | : |
|