|
@@ 1352-1354 (lines=3) @@
|
| 1349 |
|
} |
| 1350 |
|
|
| 1351 |
|
// if preview show a placeholder if empty |
| 1352 |
|
if ( $this->is_preview() && $output == '' ) { |
| 1353 |
|
$output = $this->preview_placeholder_text( "[{" . $this->base_id . "}]" ); |
| 1354 |
|
} |
| 1355 |
|
|
| 1356 |
|
return apply_filters( 'wp_super_duper_widget_output', $output, $args, $shortcode_args, $this ); |
| 1357 |
|
} |
|
@@ 2175-2178 (lines=4) @@
|
| 2172 |
|
echo ! empty( $this->options['widget_ops']['classname'] ) ? "</span>" : ''; |
| 2173 |
|
} |
| 2174 |
|
echo $after_widget; |
| 2175 |
|
} elseif ( $this->is_preview() && $output == '' ) {// if preview show a placeholder if empty |
| 2176 |
|
$output = $this->preview_placeholder_text( "{{" . $this->base_id . "}}" ); |
| 2177 |
|
echo $output; |
| 2178 |
|
} |
| 2179 |
|
$output = ob_get_clean(); |
| 2180 |
|
|
| 2181 |
|
$output = apply_filters( 'wp_super_duper_widget_output', $output, $instance, $args, $this ); |