不是我的,但修改自here.但如果你把它放到函数中。php或插件,它将工作。
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;
}