html-admin-dashboard-setup.php
5 months ago
html-admin-page-addons-category-nav.php
4 years ago
html-admin-page-product-export.php
1 year ago
html-admin-page-reports.php
2 years ago
html-admin-page-status-logs-db.php
2 years ago
html-admin-page-status-logs.php
2 years ago
html-admin-page-status-report.php
1 month ago
html-admin-page-status-tools.php
2 years ago
html-admin-page-status.php
8 years ago
html-admin-settings.php
1 month ago
html-bulk-edit-product.php
1 year ago
html-email-template-preview.php
1 year ago
html-notice-base-table-missing.php
3 years ago
html-notice-custom.php
8 years ago
html-notice-download-dir-sync-complete.php
2 years ago
html-notice-install.php
5 years ago
html-notice-legacy-shipping.php
11 months ago
html-notice-maxmind-license-key.php
6 years ago
html-notice-no-shipping-methods.php
2 years ago
html-notice-redirect-only-download.php
4 years ago
html-notice-regenerating-lookup-table.php
5 years ago
html-notice-regenerating-thumbnails.php
8 years ago
html-notice-secure-connection.php
2 years ago
html-notice-sync-on-read-disabled.php
3 months ago
html-notice-template-check.php
2 years ago
html-notice-update.php
4 months ago
html-notice-updated.php
7 years ago
html-notice-updating.php
6 years ago
html-notice-uploads-directory-is-unprotected.php
2 years ago
html-notice-wp-php-minimum-requirements.php
2 years ago
html-quick-edit-product.php
1 year ago
html-report-by-date.php
5 years ago
html-admin-page-addons-category-nav.php
37 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin View: Page - Addons - category navigation |
| 4 | * |
| 5 | * @package WooCommerce\Admin |
| 6 | * @var array $sections |
| 7 | * @var string $current_section |
| 8 | * @var string $current_section_name |
| 9 | */ |
| 10 | |
| 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | exit; |
| 13 | } |
| 14 | ?> |
| 15 | <div id="marketplace-current-section-dropdown" class="current-section-dropdown"> |
| 16 | <h2 class="current-section-dropdown__title"><?php esc_html_e( 'Browse categories', 'woocommerce' ); ?></h2> |
| 17 | <ul> |
| 18 | <?php foreach ( $sections as $section ) : ?> |
| 19 | <?php |
| 20 | if ( $current_section === $section->slug && '_featured' !== $section->slug ) { |
| 21 | $current_section_name = $section->label; |
| 22 | } |
| 23 | ?> |
| 24 | <?php if ( $current_section === $section->slug ) : ?> |
| 25 | <li class="current"> |
| 26 | <?php else: ?> |
| 27 | <li> |
| 28 | <?php endif; ?> |
| 29 | <a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-addons§ion=' . esc_attr( $section->slug ) ) ); ?>"> |
| 30 | <?php echo esc_html( $section->label ); ?> |
| 31 | </a> |
| 32 | </li> |
| 33 | <?php endforeach; ?> |
| 34 | </ul> |
| 35 | <div id="marketplace-current-section-name" class="current-section-name"><?php echo esc_html( $current_section_name ); ?></div> |
| 36 | </div> |
| 37 |