appsero
1 year ago
classes
2 months ago
elementor
2 months ago
gutenberg
3 years ago
settings
2 weeks ago
templates
3 years ago
helper.php
2 years ago
notice.php
3 years ago
support.php
3 years ago
notice.php
22 lines
| 1 | <?php |
| 2 | if( ! empty( $_GET['pgcu-dismiss-notice'] ) && 'true' == $_GET['pgcu-dismiss-notice'] ) { |
| 3 | update_option( 'pgcu_dismiss_notice', true ); |
| 4 | } |
| 5 | |
| 6 | if( ! isset( $_GET['pgcu-dismiss-notice'] ) ) { ?> |
| 7 | |
| 8 | <div class="pgcu-dashboard-notice"> |
| 9 | <p> |
| 10 | <?php |
| 11 | echo wp_kses_post( sprintf( |
| 12 | /* translators: %s: documentation URL */ |
| 13 | __( 'We are giving away 25 premium licenses to our users for FREE. Claim before it’s gone! To claim <a href="%s" target="_blank">Contact us.</a>', 'post-grid-carousel-ultimate' ), |
| 14 | 'https://wpwax.com/contact' |
| 15 | ) ); |
| 16 | ?> |
| 17 | </p> |
| 18 | <a class="pgcu-dashboard-notice__dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'pgcu-dismiss-notice', 'true' ) ) ); ?>"><?php esc_html_e( 'Dismiss', 'post-grid-carousel-ultimate' ); ?></a> |
| 19 | </div> |
| 20 | |
| 21 | <?php } ?> |
| 22 |