查看下面的截图;我要做的就是为所有有权访问后端的用户重命名”作者”。如果这是全球变化, 那会更好。


#1
你可以使用manage_edit-post_columns过滤器, 因此将以下代码添加到functions.php文件中:
add_filter( 'manage_edit-post_columns', 'rename_author_column' );
function rename_author_column( $columns ) {
$columns['author'] = 'Posted by';
return $columns;
}

更新:
要在单个帖子编辑中更改作者metabox的标题, 请将以下代码添加到你的functions.php中:
add_action('add_meta_boxes', 'change_author_metabox');
function change_author_metabox() {
global $wp_meta_boxes;
$wp_meta_boxes['post']['normal']['core']['authordiv']['title']= 'Posted by';
}
来源:
https://www.srcmini02.com/65444.html