wphooks.info - widget_categories_args

widget_categories_args

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/widgets/class-wp-widget-categories.php:
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
			/**
			 * Filters the arguments for the Categories widget.
			 *
			 * @since 2.8.0
			 * @since 4.9.0 Added the `$instance` parameter.
			 *
			 * @param array $cat_args An array of Categories widget options.
			 * @param array $instance Array of settings for the current widget.
			 */
			wp_list_categories( apply_filters( 'widget_categories_args', $cat_args, $instance ) );
			?>
		</ul>
			<?php
		}

		echo $args['after_widget'];
	}

	/**