get_blog_post


get_blog_post ( $blog_id, $post_id )

Parameters:
  • (int) blog_id ID of the blog.
  • (int) post_id ID of the post being looked for.
Returns:
  • (WP_Post|null) WP_Post object on success, null on failure
Defined at:
Change Log:
  • M: U

Description

Gets a blog post from any site on the network.This function is similar to get_post(), except that it can retrieve a post from any site on the network, not just the current site.

Related Functions

get_blog_list, get_blog_count, get_blog_option, get_blog_status, get_post

Top Google Results

User discussions

wpseek mobile