Core Function
View Source on Trac ↗ get_blog_post()
get_blog_post( mixed $blog_id, mixed $post_id ) Gets a blog post from any site on the network.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $blog_id int | ID of the blog. Required |
| $post_id int | ID of the post being looked for. Required |
Return Value
((WP_Post)
| null) WP_Post object on success, null on failure
Function Information
Since Version
MU (3.0.0)
Source File
wp-includes/ms-functions.php
Advertisement