Codex tools: Log in
Display post submit form fields.
add_meta_box( 'submitdiv', __( 'Publish' ), 'post_submit_meta_box', null, 'side', 'core' );
When the core makes the add/edit screens for page/posts in
Outputs the meta box allowing users to (depending on their permissions) save as draft, publish, edit, delete, preview, or schedule a post or page.
post_submit_meta_box() is located in