Ready to get started?Download WordPress


Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/post submit meta box


Display post submit form fields.


Outputted on  add_meta_box( 'submitdiv', __( 'Publish' ), 'post_submit_meta_box', null, 'side', 'core' ); 

When the core makes the add/edit screens for page/posts in wp-admin/edit-form-advanced.php.


(object) (required) The object of the current post
Default: None

Return Values

Outputs the meta box allowing users to (depending on their permissions) save as draft, publish, edit, delete, preview, or schedule a post or page.

Change Log

Since: 2.7.0

Source File

post_submit_meta_box() is located in wp-admin/includes/metaboxes.php.


See also index of Function Reference and index of Template Tags.
This article is marked as in need of editing. You can help Codex by editing it.