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

7 lines
455 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">
2020-08-20 12:31:10 +02:00
<p><?php esc_html_e( 'Your package has 0 listings left, you can\'t add any more until you upgrade your plan', 'opalestate-pro' ); ?></p>
<p><a href="<?php echo opalmembership_get_membership_page_uri(); ?>" class="btn btn-primary"><?php esc_html_e( 'Click this link to see plans', 'opalestate-pro' ); ?></a></p>
2019-09-24 04:21:21 +02:00
</div>
2019-09-10 06:27:33 +02:00
<?php endif; ?>