10 results found for “get_post”. Showing results 1 to 10.
-
Get the post, if the ID is valid.
Used by 2 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:138 -
Gets the post, if the ID is valid.
Used by 8 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:553 -
functionget_children()
Retrieves all children of the post parent ID.
-
functionget_post()
Retrieves post data given a post ID or post object.
-
functionget_posts()
Retrieves an array of the latest posts, or posts matching the given criteria.
-
methodWP_Query::get_posts()
Retrieves an array of posts based on query variables.
-
functionget_page()
Retrieves page data given a page ID or page object.
-
functionget_blog_post()
Gets a blog post from any site on the network.
-
functionwp_count_posts()
Counts number of posts of a post type and if user has permissions to view.