wpseek.com
A WordPress-centric search engine for devs and theme authors



widget_categories_args › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'widget_categories_args', $cat_args, $instance )
Parameters: (2)
  • (array) $cat_args An array of Categories widget options.
    Required: Yes
  • (array) $instance Array of settings for the current widget.
    Required: Yes
Defined at:
Codex:

Filters the arguments for the Categories widget.





Source

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