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



widget_categories_args ›

Since4.9.0
已弃用n/a
apply_filters( 'widget_categories_args', $cat_args, $instance )
参数: (2)
  • (array) $cat_args An array of Categories widget options.
    Required: Yes
  • (array) $instance Array of settings for the current widget.
    Required: Yes
定义在:
文档:

Filters the arguments for the Categories widget.





源码

wp_list_categories( apply_filters( 'widget_categories_args', $cat_args, $instance ) );