A WordPress-centric search engine for devs and theme authors



start_wp ›

Since1.0.1
Deprecated1.5.0
start_wp ( No parameters )
Links:
Defined at:
Codex:

Sets up the WordPress Loop.

Use The Loop instead.



Source

function start_wp() {
	global $wp_query;

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

	// Since the old style loop is being used, advance the query iterator here.
	$wp_query->next_post();

	setup_postdata( get_post() );
}