| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; |
| 4 |
} |
| 5 |
|
| 6 |
\ABlocks\Helper::get_template( 'email/template-header.php' ); |
| 7 |
?> |
| 8 |
<div class="ablocks-container"> |
| 9 |
<div class="ablocks-content"> |
| 10 |
<div class="ablocks-wrapper"> |
| 11 |
|
| 12 |
<div class="ablocks-entry-content"> |
| 13 |
<p><?php echo wp_kses_post( $message ); ?></p> |
| 14 |
</div> |
| 15 |
|
| 16 |
<div class="ablocks-footer"> |
| 17 |
© |
| 18 |
<?php |
| 19 |
$site_url = wp_parse_url( get_bloginfo( 'url' ) ); |
| 20 |
|
| 21 |
if ( ! empty( $site_url['host'] ) ) { |
| 22 |
echo esc_html( $site_url['host'] ); |
| 23 |
|
| 24 |
if ( ! empty( $site_url['port'] ) ) { |
| 25 |
echo ':' . esc_html( $site_url['port'] ); |
| 26 |
} |
| 27 |
} |
| 28 |
?> |
| 29 |
</div> |
| 30 |
|
| 31 |
</div> |
| 32 |
</div> |
| 33 |
</div> |
| 34 |
<?php |
| 35 |
\ABlocks\Helper::get_template( 'email/template-footer.php' ); |
| 36 |
|