manage_{$this->screen->taxonomy}_custom_column

过滤钩子


apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $item->term_id )
参数
  • (string)
    $string
    Custom column output. Default empty.
    Required:
  • (string)
    $column_name
    Name of the column.
    Required:
  • (int)
    $term_id
    Term ID.
    Required:
定义位置
  • wp-admin/includes/class-wp-terms-list-table.php
    , line 636
引入
2.8.0
弃用

过滤术语列表表中的显示列。

钩子名称的动态部分,$this->screen->taxonomy,指的是当前分类法的lug。

可能的钩子名称包括:

  • manage_category_custom_column
  • manage_post_tag_custom_column
return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $item->term_id );