| @@ -34,9 +34,9 @@ | ||
| 34 | 34 | $image_links_value_initial = $this->settings['image_links'] ?? []; |
| 35 | 35 | $image_links_columns_value = $this->settings['image_links_per_row'] ?? 2; |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * If empty returns a sub-array with all empty values | |
| 38 | + * if empty returns a sub-array with all empty values | |
| 39 | 39 | * Check for this here to avoid rendering container when empty |
| 40 | 40 | */ |
| 41 | 41 | $image_links_value = $this->clean_array( $image_links_value_initial ); |
| 42 | 42 | $has_image_links = ! empty( $image_links_value ); |
| @@ -96,9 +96,9 @@ | ||
| 96 | 96 | 'src' => esc_url( $image_link_image['url'] ), |
| 97 | 97 | ] ); |
| 98 | 98 | ?> |
| 99 | 99 | <img <?php echo $this->widget->get_render_attribute_string( 'image-links-img-' . $key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> /> |
| 100 | - <?php } ?> | |
| 100 | + <?php }; ?> | |
| 101 | 101 | </a> |
| 102 | 102 | <?php } ?> |
| 103 | 103 | </div> |
| 104 | 104 | <?php |
| @@ -196,9 +196,9 @@ | ||
| 196 | 196 | 'src' => esc_url( $cta_image['url'] ), |
| 197 | 197 | ] ); |
| 198 | 198 | ?> |
| 199 | 199 | <img <?php echo $this->widget->get_render_attribute_string( 'cta-link-image' . $key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> /> |
| 200 | - <?php } ?> | |
| 200 | + <?php }; ?> | |
| 201 | 201 | </span> |
| 202 | 202 | <?php endif; ?> |
| 203 | 203 | <span class="e-link-in-bio__cta-text"> |
| 204 | 204 | <?php echo esc_html( $cta['cta_link_text'] ); ?> |
| @@ -426,9 +426,9 @@ | ||
| 426 | 426 | ] ); |
| 427 | 427 | ?> |
| 428 | 428 | <img <?php echo $this->widget->get_render_attribute_string( 'identity_image_src' . $image_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> /> |
| 429 | 429 | |
| 430 | - <?php } ?> | |
| 430 | + <?php }; ?> | |
| 431 | 431 | <?php |
| 432 | 432 | if ( ! empty( $image['props']['has_shape_divider'] ) ) { |
| 433 | 433 | $this->print_shape_divider(); |
| 434 | 434 | } |