start_wp

Definition:
function start_wp() {}

Sets up the WordPress Loop.

Source code

function start_wp() {

	global $wp_query, $post;



	_deprecated_function( __FUNCTION__, '1.5', __('new WordPress Loop') );



	// Since the old style loop is being used, advance the query iterator here.

	$wp_query->next_post();



	setup_postdata($post);

}

2909

No comments yet... Be the first to leave a reply!

Leave a comment