html-order-download-permission.php
6 years ago
html-order-fee.php
5 months ago
html-order-item-meta.php
1 month ago
html-order-item.php
1 month ago
html-order-items.php
2 weeks ago
html-order-notes.php
2 months ago
html-order-refund.php
5 months ago
html-order-shipping.php
2 weeks ago
html-product-attribute-inner.php
1 month ago
html-product-attribute.php
1 month ago
html-product-data-advanced.php
1 month ago
html-product-data-attributes.php
1 week ago
html-product-data-general.php
3 months ago
html-product-data-inventory.php
6 months ago
html-product-data-linked-products.php
4 months ago
html-product-data-panel.php
2 years ago
html-product-data-shipping.php
3 years ago
html-product-data-variations.php
1 week ago
html-product-download.php
6 months ago
html-product-variation-download.php
6 months ago
html-variation-admin.php
2 months ago
html-product-attribute.php
27 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; |
| 4 | } |
| 5 | if ( ! isset( $attribute ) ) { |
| 6 | return; |
| 7 | } |
| 8 | ?> |
| 9 | <div data-taxonomy="<?php echo esc_attr( $attribute->get_taxonomy() ); ?>" class="woocommerce_attribute wc-metabox postbox closed <?php echo esc_attr( implode( ' ', $metabox_class ) ); ?>" rel="<?php echo esc_attr( $attribute->get_position() ); ?>"> |
| 10 | <h3> |
| 11 | <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'woocommerce' ); ?>"></div> |
| 12 | <div class="tips sort" data-tip="<?php esc_attr_e( 'Drag and drop to set admin attribute order', 'woocommerce' ); ?>"></div> |
| 13 | <a href="#" class="remove_row delete"><?php esc_html_e( 'Remove', 'woocommerce' ); ?></a> |
| 14 | <strong class="attribute_name<?php echo esc_attr( $attribute->get_name() === '' ? ' placeholder' : '' ); ?>"><?php echo esc_html( $attribute->get_name() !== '' ? wc_attribute_label( $attribute->get_name() ) : __( 'New attribute', 'woocommerce' ) ); ?></strong> |
| 15 | <?php if ( $attribute->is_taxonomy() ) : ?> |
| 16 | <?php |
| 17 | /* translators: 'Global' refers to 'global attribute'. */ |
| 18 | $global_attribute_badge_label = __( 'Global', 'woocommerce' ); |
| 19 | ?> |
| 20 | <span class="woocommerce-attribute-global-badge"><?php echo esc_html( $global_attribute_badge_label ); ?></span> |
| 21 | <?php endif; ?> |
| 22 | </h3> |
| 23 | <div class="woocommerce_attribute_data wc-metabox-content hidden"> |
| 24 | <?php require __DIR__ . '/html-product-attribute-inner.php'; ?> |
| 25 | </div> |
| 26 | </div> |
| 27 |