Warning: This function has been deprecated.

start_wp()

Sets up the WordPress Loop.


Description

Use The Loop instead.


Top ↑

Source

File: wp-includes/deprecated.php. View all references

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() );
}


Top ↑

Changelog

Changelog
Version Description
1.5.0 This function has been deprecated.
1.0.1 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.