Codex tools: Log in
Contents |
Get a blog post from any site on the network.
<?php $blog_post = get_blog_post( $blog_id, $post_id ); ?>
From site/blog id 3, get the post with id 6.
<?php
$post_6 = get_blog_post( 3, 6 );
echo $post_6->post_title;
?>
Returns a WP_Post object, or null on failure. See get_post for more information.
get_blog_post() is located in wp-includes/ms-functions.php.