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



manage_{$this->screen->id}_sortable_columns ›

Since3.5.0
已弃用n/a
apply_filters( "manage_{$this->screen->id}_sortable_columns", $sortable_columns )
参数:
  • (array) $sortable_columns An array of sortable columns.
    Required: Yes
定义在:
文档:

Filters the list table sortable columns for a specific screen.

The dynamic portion of the hook name, $this->screen->id, refers to the ID of the current screen, usually a string.





源码

$_sortable = apply_filters( "manage_{$this->screen->id}_sortable_columns", $sortable_columns );