I have a custom post type called 'contacts'. I want want to remove the status, post date and change the button from PUBLISH to SAVE. From what I can tell this may not be possible without changing core files (please correct me if I am wrong).

So, instead of trying to hack the PUBLISH metabox, I have the ability to remove the PUBLISH meta box all together using the Access Manager plugin. But I need to know how to readd a SAVE button that works the same way PUBLISH would.

Any ideas?

  • Do you mean change it from "published" to "draft"? – Teknophilia Dec 10 '11 at 21:26
  • No, since I am using this post type as a CONTACT, not as a POST, it does not make sense to say "PUBLISH" when saving. Plus, I don't want my users to see the other options that are in the PUBLISH metabox. So, the 'easiest' way of doing was to hid the PUBLISH metabox and add a new metabox with a SAVE button. Does that clarify? – katemerart Dec 10 '11 at 21:30

Not mine but modified from here. But if you pop this into functions.php or a plugin it will work.

add_filter( 'gettext', 'change_publish_button', 10, 2 );

function change_publish_button( $translation, $text ) {
if ( 'yourcustomposttype' == get_post_type())
if ( $text == 'Publish' )
    return 'Save';

return $translation;
  • Worked perfectly to get the PUBLISH button to say SAVE - ty! – katemerart Dec 11 '11 at 2:22
  • 1
    I believe it may be more efficient (and precise) if you enqueue a js file for that post type and then change the value of the submit input with jQuery, targeting only that specific button. – Ronnieinspain Jan 21 '14 at 13:22

I know this is an old post, but I just cleaned up the code if anyone finds this thread via search like I did.

function change_publish_button( $translation, $text ) {
    if ( 'CUSTOM_POST_TYPE' == get_post_type() && ($text == 'Publish' || $text == 'Update') ) {
        return 'Save';
    } else {
        return $translation;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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