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, generate_postdata, set_post_format

Top Google Results

User discussions

wpseek mobile