WordPress at Your Fingertips
function is not described

get_default_page_to_edit() WP 2.5.0

Deprecated from version 3.5.0. It is no longer supported and can be removed in future releases. Use get_default_post_to_edit() instead.

Gets the default page information to use.

No Hooks.

Return

WP_Post. Post object containing all the default post data as attributes

Usage

get_default_page_to_edit();

Notes

Changelog

Since 2.5.0 Introduced.
Deprecated Since 3.5.0 Use get_default_post_to_edit()

Code of get_default_page_to_edit() WP 5.8.2

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