wpseek.com
A WordPress-centric search engine for devs and theme authors



get_default_page_to_edit › WordPress Function

Since2.5.0
Deprecated3.5.0
get_default_page_to_edit ( No parameters )
See:
Returns:
  • (WP_Post) Post object containing all the default post data as attributes
Defined at:
Codex:

Gets the default page information to use.



Source

function get_default_page_to_edit() {
	_deprecated_function( __FUNCTION__, '3.5.0', "get_default_post_to_edit( 'page' )" );

	$page = get_default_post_to_edit();
	$page->post_type = 'page';
	return $page;
}