setup_postdata


setup_postdata ( $post )

Parameters:
  • (WP_Post|object|int) $post WP_Post instance or Post ID/object.
Returns:
  • (bool) True when finished.
Defined at:
Change Log:
  • 4: .

Description

Set up global post data.

Related Functions

get_postdata, setup_userdata, wp_reset_postdata, set_post_format, get_lastpostdate

Top Google Results

User discussions

wpseek mobile