integration.php
| 1 | <?php |
| 2 | |
| 3 | if ( ! defined('ABSPATH')) { |
| 4 | exit; |
| 5 | } |
| 6 | |
| 7 | ?> |
| 8 | <div class="ac-notice ac-notice--integration notice is-dismissible<?php echo $this->extra_classes ? ' ' . esc_attr($this->extra_classes) : ''; ?>" data-dismissible-callback="<?php |
| 9 | echo esc_attr(wp_json_encode($this->dismissible_callback)); ?>"> |
| 10 | <div class="ac-notice-integration"> |
| 11 | <div class="ac-notice-integration__copy"> |
| 12 | <?php |
| 13 | if ($this->eyebrow) : ?> |
| 14 | <p class="ac-notice-integration__eyebrow"><?php |
| 15 | echo esc_html($this->eyebrow); ?></p> |
| 16 | <?php |
| 17 | endif; ?> |
| 18 | <p class="ac-notice-integration__title"><?php |
| 19 | echo esc_html($this->title); ?></p> |
| 20 | <p class="ac-notice-integration__desc"><?php |
| 21 | echo esc_html($this->description); ?></p> |
| 22 | </div> |
| 23 | <div class="ac-notice-integration__actions"> |
| 24 | <a href="<?php |
| 25 | echo esc_url($this->cta_url); ?>" target="_blank" class="ac-notice-integration__btn ac-notice-integration__btn--primary"> |
| 26 | <?php |
| 27 | echo esc_html($this->cta_label); ?> |
| 28 | </a> |
| 29 | <a href="<?php |
| 30 | echo esc_url($this->secondary_url); ?>" target="_blank" class="ac-notice-integration__link"> |
| 31 | <?php |
| 32 | echo esc_html($this->secondary_label); ?> → |
| 33 | </a> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |
| 37 |