1

I've looked everywhere trying to find how to rename the "Publish" metabox title in the WordPress backend post screen. There's help for every other metabox for changing titles and there's help for changing everything but the title for the Publish metabox.

I'm sure it's simple but I'm just not getting close.

3

1 Answer 1

2

The best way would be to remove the meta box and then add it back in with your new title:

function change_publish_meta_box() {
    remove_meta_box( 'submitdiv', 'post', 'side' );
    add_meta_box( 'submitdiv', 'YOUR TITLE HERE', 'post_submit_meta_box', null, 'side', 'high' );
}
add_action( 'add_meta_boxes_post',  'change_publish_meta_box' );

(Change YOUR TITLE HERE to whatever you want)

2
  • The metabox isn't showing
    – Pete
    Commented Sep 30, 2015 at 11:46
  • Edited and confirmed it works now. Had to change the priority from "core" to "high".
    – Nate Allen
    Commented Sep 30, 2015 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.