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, get_post_meta, get_post, get_lastpostdate, get_post_stati

Top Google Results

User discussions

wpseek mobile