wphooks.info - widget_categories_dropdown_args

widget_categories_dropdown_args

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/widgets/class-wp-widget-categories.php:
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
			 * Filters the arguments for the Categories widget drop-down.
			 *
			 * @since 2.8.0
			 * @since 4.9.0 Added the `$instance` parameter.
			 *
			 * @see wp_dropdown_categories()
			 *
			 * @param array $cat_args An array of Categories widget drop-down arguments.
			 * @param array $instance Array of settings for the current widget.
			 */
			wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args, $instance ) );

			echo '</form>';
			?>

<script type='text/javascript'>
/* <![CDATA[ */
(function() {
	var dropdown = document.getElementById( "<?php echo esc_js( $dropdown_id ); ?>" );
	function onCatChange() {