Codex

Function Reference/get blog post

Contents

Description

Gets post information.

Usage

 <?php $blog_post get_blog_post$blog_id$post_id ); ?> 

Parameters

$blog_id
(integer) (required) ID of the blog.
Default: None
$post_id
(integer) (required) ID of the post you are looking for.
Default: None

Returns

Returns an array of the posts information:

ID
post_author
post_date
post_date_gmt
post_content
post_title
post_excerpt
post_status
comment_status
ping_status
post_password
post_name
to_ping
pinged
post_modified
post_modified_gmt
post_content_filtered
post_parent
guid
menu_order
post_type
post_mime_type 
comment_count 

Source File

get_blog_post() is located in wp-includes/ms-functions.php.


See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.