block.json
6 months ago
controller.php
6 months ago
index-rtl.css
6 months ago
index.asset.php
1 month ago
index.css
6 months ago
index.js
1 month ago
style-index-rtl.css
6 months ago
style-index.css
6 months ago
view.php
6 months ago
view.php
43 lines
| 1 | <<?php echo esc_html( $html_tag ); ?> |
| 2 | <?php |
| 3 | echo wp_kses_data( |
| 4 | get_block_wrapper_attributes( |
| 5 | array_filter( |
| 6 | [ |
| 7 | 'href' => esc_url( $link_url ), |
| 8 | 'target' => esc_attr( $link_target ), |
| 9 | 'rel' => esc_attr( trim( $link_rel . ( $nofollow ? ' nofollow' : '' ) ) ), |
| 10 | ] |
| 11 | ) |
| 12 | ) |
| 13 | ); |
| 14 | ?> |
| 15 | > |
| 16 | <span style=" |
| 17 | <?php |
| 18 | echo esc_attr( |
| 19 | implode( |
| 20 | '; ', |
| 21 | [ |
| 22 | 'width: ' . esc_attr( $size ) . 'px', |
| 23 | 'height: ' . esc_attr( $size ) . 'px', |
| 24 | ] |
| 25 | ) |
| 26 | ); |
| 27 | ?> |
| 28 | "> |
| 29 | <?php |
| 30 | echo wp_kses( |
| 31 | SureCart::svg()->get( |
| 32 | $icon_name, |
| 33 | [ |
| 34 | 'stroke-width' => esc_attr( $stroke_width ), |
| 35 | 'class' => 'surecart-icon', |
| 36 | ] |
| 37 | ), |
| 38 | sc_allowed_svg_html() |
| 39 | ); |
| 40 | ?> |
| 41 | </span> |
| 42 | </<?php echo esc_html( $html_tag ); ?>> |
| 43 |