| @@ 136-147 (lines=12) @@ | ||
| 133 | } |
|
| 134 | } |
|
| 135 | ||
| 136 | if (isset($instance['character_count'])) { |
|
| 137 | /** |
|
| 138 | * Filter the widget's excerpt character count. |
|
| 139 | * |
|
| 140 | * @since 1.3.9 |
|
| 141 | * |
|
| 142 | * @param int $instance ['character_count'] Excerpt character count. |
|
| 143 | */ |
|
| 144 | $character_count = apply_filters('bestof_widget_list_character_count', $instance['character_count']); |
|
| 145 | } else { |
|
| 146 | $character_count = ''; |
|
| 147 | } |
|
| 148 | ||
| 149 | $category_taxonomy = geodir_get_taxonomies($post_type); |
|
| 150 | ||
| @@ 3588-3598 (lines=11) @@ | ||
| 3585 | $title = str_replace( "%posttype_plural_label%", $posttype_plural_label, $title ); |
|
| 3586 | $title = str_replace( "%posttype_singular_label%", $posttype_singular_label, $title ); |
|
| 3587 | ||
| 3588 | if ( isset( $instance['character_count'] ) ) {
|
|
| 3589 | /** |
|
| 3590 | * Filter the widget's excerpt character count. |
|
| 3591 | * |
|
| 3592 | * @since 1.0.0 |
|
| 3593 | * |
|
| 3594 | * @param int $instance ['character_count'] Excerpt character count. |
|
| 3595 | */ |
|
| 3596 | $character_count = apply_filters( 'widget_list_character_count', $instance['character_count'] ); |
|
| 3597 | } else {
|
|
| 3598 | $character_count = ''; |
|
| 3599 | } |
|
| 3600 | ||
| 3601 | if ( empty( $title ) || $title == 'All' ) {
|
|