get_postdata


get_postdata ( $postid )

Parameters:
  • (int) postid Post ID.
See:
Returns:
  • (array) Post data.
Defined at:

Description

Retrieves all post data for a given post.

Related Functions

setup_postdata, generate_postdata, get_post, get_post_meta, get_lastpostdate

Top Google Results

User discussions

wpseek mobile