customer-dashboard
2 years ago
admin-header.php
1 week ago
admin-index-header.php
2 years ago
admin-index-styles.php
1 year ago
admin-settings-header.php
10 months ago
admin-settings-notices.php
4 years ago
admin-settings-styles.php
2 months ago
enhanced-views-promo.php
1 week ago
store-logo.php
2 years ago
admin-index-header.php
27 lines
| 1 | <?php |
| 2 | // let's make sure this page is not cached. |
| 3 | header( 'Cache-Control: no-cache, no-store, must-revalidate' ); |
| 4 | header( 'Pragma: no-cache' ); |
| 5 | header( 'Expires: 0' ); |
| 6 | ?> |
| 7 | |
| 8 | <?php \SureCart::render( 'components/admin/flash-messages' ); ?> |
| 9 | |
| 10 | <h1 class="wp-heading-inline"><?php echo wp_kses_post( $title ?? '' ); ?></h1> |
| 11 | |
| 12 | <?php if ( isset( $new_link ) ) : ?> |
| 13 | <a href="<?php echo esc_url( $new_link ); ?>" class="page-title-action" data-test-id="add-new-button"> |
| 14 | <?php esc_html_e( 'Add New', 'surecart' ); ?> |
| 15 | </a> |
| 16 | <?php endif; ?> |
| 17 | |
| 18 | <?php if ( isset( $after_title ) ) : ?> |
| 19 | <?php |
| 20 | $allowed = wp_kses_allowed_html( 'post' ); |
| 21 | $allowed['button']['slot'] = true; |
| 22 | echo wp_kses( $after_title, $allowed ); |
| 23 | ?> |
| 24 | <?php endif; ?> |
| 25 | |
| 26 | <hr class="wp-header-end" /> |
| 27 |