get_default_post_to_edit Wordpress function


Description:

Default post information to use when populating the "Write Post" form.


Syntax:


Arguments:

(string) $post_type A post type string, defaults to 'post'.


Return Type:

(WP_Post) Post object containing all the default post data as attributes


Define At:

wp-admin/includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_default_post_to_edit


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×