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: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Set up global post data.