Warning: This function has been deprecated. Use get_default_post_to_edit() instead.
get_default_page_to_edit()
Gets the default page information to use.
Description Description
See also See also
Return Return
(WP_Post) Post object containing all the default post data as attributes
Source Source
File: wp-admin/includes/deprecated.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; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Use get_default_post_to_edit() |
2.5.0 | Introduced. |