get_blog_post

SummerySummery

Get a blog post from any site on the network.

Syntax

get_blog_post( int $blog_id, int $post_id )

ParametersParameters

$blog_id

(int) (Required) ID of the blog.

$post_id

(int) (Required) ID of the post being looked for.

ReturnReturn

(WP_Post|null) WP_Post on success or null on failure

SourceSource

File: wp-includes/ms-functions.php


			

ChangelogChangelog

Changelog
Version Description
MU (3.0.0) Introduced.
Scroll to Top