1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?php
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed');
if (!empty($prefix)) echo $prefix.' '; echo $title.': ';
echo empty($text_plain) ? $text : $text_plain;
if (!empty($discount_code)) echo $discount_code.' ';
// if (isset($text2)) { // echo "\r\n\r\n" . $text2 . "\r\n\r\n"; // }
if (!empty($button_link) && !empty($button_meta)) {
echo ' ';
$link = apply_filters('updraftplus_com_link', $button_link);
if ('updraftcentral' == $button_meta) { _e('Get UpdraftCentral', 'updraftplus'); } elseif ('review' == $button_meta) { _e('Review UpdraftPlus', 'updraftplus'); } elseif ('updraftplus' == $button_meta) { _e('Get Premium', 'updraftplus'); } elseif ('signup' == $button_meta) { _e('Sign up', 'updraftplus'); } elseif ('go_there' == $button_meta) { _e('Go there', 'updraftplus'); } else { _e('Read more', 'updraftplus'); }
echo ' - '.$link; echo "\r\n"; }
|