Opal-Estate-Pro/templates/parts/membership-warning.php

7 lines
452 B
PHP
Raw Normal View History

2019-09-24 04:21:21 +02:00
<?php if ( ! opalesate_check_has_add_listing( $user_id ) ): ?>
<div class="alert alert-warning">
<p><?php esc_html_e( 'Your package has 0 left listing, you could not add any more. Please upgrade now', 'opalestate-pro' ); ?></p>
<p><a href="<?php echo opalmembership_get_membership_page_uri(); ?>" class="btn btn-primary"><?php esc_html_e( 'Click to this link to see plans', 'opalestate-pro' ); ?></a></p>
</div>
2019-09-10 06:27:33 +02:00
<?php endif; ?>