widget_categories_dropdown_args

过滤钩子


apply_filters( 'widget_categories_dropdown_args', $cat_args, $instance )
参数
  • (array)
    $cat_args
    An array of Categories widget drop-down arguments.
    Required:
  • (array)
    $instance
    Array of settings for the current widget.
    Required:
定义位置
  • wp-includes/widgets/class-wp-widget-categories.php
    , line 91
引入
4.9.0
弃用

Filters the arguments for the Categories widget drop-down.

wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args, $instance ) );