我想在管理面板中重命名Posts的一列(标签)。
**title author categories comments date tags**
title1 admin cat 1 9-9-14 php,wordpress
title2 admin cat 2 9-6-14 php
我想用以下命名关键字更改标签列:
**title author categories comments date keywords**
title1 admin cat 1 9-9-14 php,wordpress
title2 admin cat 2 9-6-14 php
我该怎么做?
使用过滤器manage_edit-{post_type}_columns
:
add_filter( 'manage_edit-post_columns', 'so_25737839' );
function so_25737839( $columns )
{
$columns['tags'] = 'Keywords';
return $columns;
}