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



screen_layout_columns ›

Since2.8.0
已弃用n/a
apply_filters( 'screen_layout_columns', array()
参数: (3)
  • (array) $empty_columns Empty array.
    Required: Yes
  • (string) $screen_id Screen ID.
    Required: Yes
  • (WP_Screen) $this Current WP_Screen instance.
    Required: Yes
定义在:
文档:

Filters the array of screen layout columns.

This hook provides back-compat for plugins using the back-compat Filters instead of add_screen_option().





源码

$columns = apply_filters( 'screen_layout_columns', array(), $this->id, $this );