Add upstream
This commit is contained in:
		| @@ -0,0 +1,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"; | ||||
| 	 | ||||
| } | ||||
		Reference in New Issue
	
	Block a user