contact.php
24 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package Freemius |
| 4 | * @copyright Copyright (c) 2015, Freemius, Inc. |
| 5 | * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 |
| 6 | * @since 1.2.0 |
| 7 | */ |
| 8 | |
| 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | exit; |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * @var array $VARS |
| 15 | */ |
| 16 | $fs = freemius( $VARS['id'] ); |
| 17 | $slug = $fs->get_slug(); |
| 18 | |
| 19 | echo fs_text_inline( 'Sorry for the inconvenience and we are here to help if you give us a chance.', 'contact-support-before-deactivation', $slug ) |
| 20 | . sprintf(" <a href='%s' class='button button-small button-primary'>%s</a>", |
| 21 | $fs->contact_url( 'technical_support' ), |
| 22 | fs_text_inline( 'Contact Support', 'contact-support', $slug ) |
| 23 | ); |
| 24 |