Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在帖子和自定义帖子类型管理屏幕中重命名自定义列_Php_Wordpress - Fatal编程技术网

Php 在帖子和自定义帖子类型管理屏幕中重命名自定义列

Php 在帖子和自定义帖子类型管理屏幕中重命名自定义列,php,wordpress,Php,Wordpress,我想重命名管理面板中的一列(标签) **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       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
如何操作?

使用过滤器:


现在再看看我的问题。。。
add_filter( 'manage_edit-post_columns', 'so_25737839' );

function so_25737839( $columns ) 
{
    $columns['tags'] = 'Keywords';
    return $columns;
}