admin.php
7 years ago
exceptions.php
1 year ago
excluded-links.php
7 years ago
exit-confirmation.php
3 years ago
external-links.php
7 years ago
internal-links.php
7 years ago
exit-confirmation.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Tab Exit Confirmation Links |
| 5 | * |
| 6 | * @package WPEL |
| 7 | * @category WordPress Plugin |
| 8 | * @version 2.3 |
| 9 | * @link https://www.webfactoryltd.com/ |
| 10 | * @license Dual licensed under the MIT and GPLv2+ licenses |
| 11 | * |
| 12 | * @var array $vars |
| 13 | * @option array "tabs" |
| 14 | * @option string "current_tab" |
| 15 | */ |
| 16 | |
| 17 | echo '<div class="notice-box-info"> |
| 18 | <b>Exit Confirmation (a PRO feature) protects your traffic & visitors</b> by alerting them when they\'re about to leave your site. Since you don\'t control content on 3rd party sites it\'s a good practice to warn visitors they\'re leaving the safety of your site. Doing that will also bring you more traffic as visitors will spend more time on your site. <a href="#" class="open-pro-dialog" data-pro-feature="exit-confirmation-banner">Get PRO now</a> to use the Exit Confirmation feature. |
| 19 | </div>'; |
| 20 | |
| 21 | $default_fields_file = WPEL_Plugin::get_plugin_dir('/templates/partials/tab-contents/fields-default.php'); |
| 22 | WPEL_Plugin::show_template($default_fields_file, $vars); |
| 23 | |
| 24 | echo '<br><a href="#" class="open-pro-dialog button button-primary" data-pro-feature="exit-confirmation">Save Changes</a>'; |
| 25 |