lite-connect
1 year ago
did-you-know.php
5 years ago
providers-item.php
3 years ago
settings-item.php
4 years ago
providers-item.php
39 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Builder/Providers and Payments Education template for Lite. |
| 4 | * |
| 5 | * @since 1.6.6 |
| 6 | * |
| 7 | * @var string $clear_slug Clear slug (without `wpforms-` prefix). |
| 8 | * @var string $modal_name Name of the addon used in modal window. |
| 9 | * @var string $license_level License level. |
| 10 | * @var string $name Name of the addon. |
| 11 | * @var string $icon Addon icon. |
| 12 | * @var string $video Video URL. |
| 13 | * @var string $utm_content UTM content. |
| 14 | * @var bool $recommended Flag for recommended providers. |
| 15 | */ |
| 16 | |
| 17 | if ( ! defined( 'ABSPATH' ) ) { |
| 18 | exit; |
| 19 | } |
| 20 | |
| 21 | ?> |
| 22 | <a href="#" |
| 23 | class="wpforms-panel-sidebar-section icon wpforms-panel-sidebar-section-<?php echo esc_attr( $clear_slug ); ?> education-modal" |
| 24 | data-name="<?php echo esc_attr( $modal_name ); ?>" |
| 25 | data-slug="<?php echo esc_attr( $clear_slug ); ?>" |
| 26 | data-video="<?php echo esc_url( $video ); ?>" |
| 27 | data-license="<?php echo esc_attr( $license_level ); ?>" |
| 28 | data-utm-content="<?php echo esc_attr( $utm_content ); ?>"> |
| 29 | <img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/' . $icon ); ?>" alt="<?php echo esc_attr( $modal_name ); ?>"> |
| 30 | <?php echo esc_html( $name ); ?> |
| 31 | <?php if ( ! empty( $recommended ) ) : ?> |
| 32 | <span class="wpforms-panel-sidebar-recommended"> |
| 33 | <i class="fa fa-star" aria-hidden="true"></i> |
| 34 | <?php esc_html_e( 'Recommended', 'wpforms-lite' ); ?> |
| 35 | </span> |
| 36 | <?php endif; ?> |
| 37 | <i class="fa fa-angle-right wpforms-toggle-arrow"></i> |
| 38 | </a> |
| 39 |