admin-notice.php
27 lines
| 1 | <?php |
| 2 | namespace ElementsKit_Lite\Libs\Pro_Label; |
| 3 | |
| 4 | defined( 'ABSPATH' ) || exit; |
| 5 | |
| 6 | trait Admin_Notice { |
| 7 | |
| 8 | public function footer_alert_box() { |
| 9 | include 'views/modal.php'; |
| 10 | } |
| 11 | |
| 12 | public function show_go_pro_notice() { |
| 13 | |
| 14 | \Oxaim\Libs\Notice::instance( 'elementskit-lite', 'go-pro-noti2ce' ) |
| 15 | ->set_dismiss( 'global', ( 3600 * 24 * 300 ) ) |
| 16 | ->set_type( 'warning' ) |
| 17 | ->set_html( |
| 18 | ' |
| 19 | <div class="ekit-go-pro-notice"> |
| 20 | <strong>Thank you for using ElementsKit Lite.</strong> To get more amazing features and the outstanding pro ready-made layouts, please get the <a style="color: #FCB214;" target="_blank" href="https://wpmet.com/elementskit-pricing">Premium Version</a>. |
| 21 | </div> |
| 22 | ' |
| 23 | ) |
| 24 | ->call(); |
| 25 | } |
| 26 | } |
| 27 |