@@ 139-141 (lines=3) @@ | ||
136 | ||
137 | echo $args['before_widget']; |
|
138 | ||
139 | if ( ! empty( $title ) ) { |
|
140 | echo $args['before_title'] . esc_html( $title ) . $args['after_title']; |
|
141 | } |
|
142 | ||
143 | // Get the Site Stats. |
|
144 | $views = $this->get_stats(); |
@@ 63-65 (lines=3) @@ | ||
60 | /** This filter is documented in core/src/wp-includes/default-widgets.php */ |
|
61 | $title = apply_filters( 'widget_title', isset( $instance['title'] ) ? $instance['title'] : '' ); |
|
62 | echo $args['before_widget']; |
|
63 | if ( ! empty( $title ) ) { |
|
64 | echo $args['before_title'] . esc_html( $title ) . $args['after_title']; |
|
65 | } |
|
66 | echo '<div id="google_translate_element"></div>'; |
|
67 | echo $args['after_widget']; |
|
68 | self::$instance = $instance; |