tab_activity.php
2 years ago
tab_captcha.php
2 years ago
tab_design.php
2 years ago
tab_firewall.php
2 years ago
tab_geoip.php
2 years ago
tab_login_form.php
2 years ago
tab_temp_access.php
2 years ago
tab_temp_access.php
22 lines
| 1 | <?php |
| 2 | /** |
| 3 | * WP Captcha |
| 4 | * https://getwpcaptcha.com/ |
| 5 | * (c) WebFactory Ltd, 2022 - 2023, www.webfactoryltd.com |
| 6 | */ |
| 7 | |
| 8 | class WPCaptcha_Tab_Temporary_Access extends WPCaptcha |
| 9 | { |
| 10 | static function display() |
| 11 | { |
| 12 | echo '<div class="tab-content">'; |
| 13 | |
| 14 | echo '<div class="notice-box-info"> |
| 15 | Temporary Access links are a convenient way to give temporary access to other people. You can set the lifetime of the link and the maximum number of times it can be used to prevent abuse. <a href="#" class="open-pro-dialog" data-pro-feature="temp-access">Get PRO now</a> to use the Temporary Links feature. |
| 16 | </div>'; |
| 17 | |
| 18 | echo '<img class="open-upsell open-upsell-block" data-feature="temporary_access" style="width: 100%;" src="' . esc_url(WPCAPTCHA_PLUGIN_URL) . '/images/temporary-access.png" alt="WP Captcha" title="WP Captcha Temporary Access Links" />'; |
| 19 | echo '</div>'; |
| 20 | } // display |
| 21 | } // class WPCaptcha_Tab_2FA |
| 22 |