widget_archives_dropdown_args

widget_archives_dropdown_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.0.3

apply_filters('widget_archives_dropdown_args') is found 1 times:

  • /wp-includes/widgets/class-wp-widget-archives.php line 74
    			 *
    			 * @param array $args     An array of Archives widget drop-down arguments.
    			 * @param array $instance Settings for the current Archives widget instance.
    			 */
    			$dropdown_args = apply_filters( 'widget_archives_dropdown_args', array(
    				'type'            => 'monthly',
    				'format'          => 'option',
    				'show_post_count' => $c
    			), $instance );
    
    			switch ( $dropdown_args['type'] ) {