Opal-Estate-Pro/templates/emails/publish_property.php

15 lines
373 B
PHP
Raw Permalink Normal View History

2019-09-10 06:27:33 +02:00
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
Hi <?php echo $user->first_name . ' ' . $user->last_name; ?>,
Your property have published.
<br>
<?php $permalink = get_permalink( $post->ID ); ?>
<?php if ( ! empty( $permalink ) ) : ?>
<strong><?php echo esc_html__( 'URL', 'opalestate-pro' ); ?>: </strong> <?php echo esc_attr( $permalink ); ?><br>
<?php endif; ?>