IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 59 | 59 | * Filter the arguments for the Archives widget drop-down. |
| 60 | 60 | * |
| 61 | 61 | * @since 2.8.0 |
| | 62 | * @since 4.5.0 Added new params $widget_args, $instance and $widget_archive |
| 62 | 63 | * |
| 63 | 64 | * @see wp_get_archives() |
| 64 | 65 | * |
| 65 | 66 | * @param array $args An array of Archives widget drop-down arguments. |
| | 67 | * @param array $widget_args Array of arguments including 'before_title', 'after_title', |
| | 68 | * 'before_widget', and 'after_widget'. |
| | 69 | * @param array $instance Settings for the current Archives widget instance. |
| | 70 | * @param WP_Widget_Archives $widget_archive Object Current Widget |
| 66 | 71 | */ |
| 67 | 72 | $dropdown_args = apply_filters( 'widget_archives_dropdown_args', array( |
| 68 | 73 | 'type' => 'monthly', |
| 69 | 74 | 'format' => 'option', |
| 70 | 75 | 'show_post_count' => $c |
| 71 | | ) ); |
| | 76 | ), $args, $instance, $this ); |
| 72 | 77 | |
| 73 | 78 | switch ( $dropdown_args['type'] ) { |
| 74 | 79 | case 'yearly': |
| … |
… |
|
| 100 | 105 | * Filter the arguments for the Archives widget. |
| 101 | 106 | * |
| 102 | 107 | * @since 2.8.0 |
| | 108 | * @since 4.5.0 Added new params $widget_args, $instance and $widget_archive |
| 103 | 109 | * |
| 104 | 110 | * @see wp_get_archives() |
| 105 | 111 | * |
| 106 | 112 | * @param array $args An array of Archives option arguments. |
| | 113 | * @param array $widget_args Array of arguments including 'before_title', 'after_title', |
| | 114 | * 'before_widget', and 'after_widget'. |
| | 115 | * @param array $instance Settings for the current Archives widget instance. |
| | 116 | * @param WP_Widget_Archives $widget_archive Object Current Widget |
| 107 | 117 | */ |
| 108 | 118 | wp_get_archives( apply_filters( 'widget_archives_args', array( |
| 109 | 119 | 'type' => 'monthly', |
| 110 | 120 | 'show_post_count' => $c |
| 111 | | ) ) ); |
| | 121 | ), $args, $instance, $this ) ); |
| 112 | 122 | ?> |
| 113 | 123 | </ul> |
| 114 | 124 | <?php |