| 1 |
<div id="yaymail-upgrade-notice" class="notice-info notice is-dismissible"> |
| 2 |
<h4 style="color: #000"><?php esc_html_e( 'Recommended: You can use YayMail Pro to integrate with:', 'yaymail' ); ?></h4> |
| 3 |
<ul style="list-style: inside;"> |
| 4 |
<?php |
| 5 |
|
| 6 |
if ( ! empty( $pro_needed_plugins ) ) { |
| 7 |
|
| 8 |
foreach ( $pro_needed_plugins as $namespace => $third_party ) { |
| 9 |
?> |
| 10 |
<li><?php echo esc_html( $third_party['plugin_name'] ); ?></li> |
| 11 |
<?php |
| 12 |
} |
| 13 |
} |
| 14 |
?> |
| 15 |
</ul> |
| 16 |
<p style="padding-left:0"> |
| 17 |
<a href="https://yaycommerce.com/yaymail-woocommerce-email-customizer/" target="_blank" data="upgradenow" class="button button-primary yaymail-upgrade-pro" style="margin-right: 5px"><?php esc_html_e( 'Upgrade to Pro', 'yaymail' ); ?></a> |
| 18 |
<a href="javascript:;" data="later" class="yaymail-dismiss-upgrade-notice" style="margin-right: 5px"><?php esc_html_e( 'No, thanks', 'yaymail' ); ?></a> |
| 19 |
</p> |
| 20 |
</div> |