WordPress at a glance
function is not described

get_default_page_to_edit() WP 2.5.0

Deprecated in 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.

  • See: get_default_post_to_edit()

No Hooks.

Return

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

Usage

get_default_page_to_edit();

Code of get default page to edit: wp-admin/includes/deprecated.php VER 5.1.1

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