27 lines
916 B
PHP
27 lines
916 B
PHP
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
|
|
<div style="max-width: 700px; border: 1px solid; border-radius: 4px; font-size:110%; line-height: 110%; padding:8px; margin: 6px 0 12px; clear:left;">
|
|
<strong><?php
|
|
if (!empty($prefix)) echo esc_html($prefix).' ';
|
|
echo esc_html($title);
|
|
?></strong>:
|
|
<?php
|
|
echo wp_kses_post($text);
|
|
|
|
if (isset($discount_code)) echo ' <b>'.esc_html($discount_code).'</b>';
|
|
|
|
if (!empty($button_link) && (!empty($button_meta) || !empty($button_text))) {
|
|
?>
|
|
<a class="updraft_notice_link" href="<?php echo esc_attr(apply_filters('updraftplus_com_link', $button_link));?>"><?php
|
|
global $updraftplus_admin;
|
|
$updraftplus_admin->include_template(
|
|
'wp-admin/notices/button-label.php',
|
|
false,
|
|
array(
|
|
'button_meta' => isset($button_meta) ? $button_meta : '',
|
|
'button_text' => isset($button_text) ? $button_text : ''
|
|
)
|
|
);
|
|
?></a><br><br>
|
|
<?php }
|
|
?>
|
|
</div>
|