wpseek.com
WordPress开发者和主题制作者的搜索引擎



manage_posts_columns › WordPress过滤钩子

Since1.5.0
已弃用n/a
apply_filters( 'manage_posts_columns', $posts_columns, $post_type )
参数: (2)
  • (string[]) $post_columns An associative array of column headings.
    Required: Yes
  • (string) $post_type The post type slug.
    Required: Yes
定义在:
文档:

Filters the columns displayed in the Posts list table.





源码

$posts_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type );