includes/class-wc-order-item-meta.php 1 location
|
@@ 117-119 (lines=3) @@
|
| 114 |
|
|
| 115 |
|
if ( ! empty( $this->item['item_meta_array'] ) ) { |
| 116 |
|
foreach ( $this->item['item_meta_array'] as $meta_id => $meta ) { |
| 117 |
|
if ( "" === $meta->value || is_serialized( $meta->value ) || ( ! empty( $hideprefix ) && substr( $meta->key, 0, 1 ) === $hideprefix ) ) { |
| 118 |
|
continue; |
| 119 |
|
} |
| 120 |
|
|
| 121 |
|
$attribute_key = urldecode( str_replace( 'attribute_', '', $meta->key ) ); |
| 122 |
|
$meta_value = $meta->value; |
includes/class-wc-order-item.php 1 location
|
@@ 278-280 (lines=3) @@
|
| 275 |
|
$meta_data = $this->get_meta_data(); |
| 276 |
|
|
| 277 |
|
foreach ( $meta_data as $meta ) { |
| 278 |
|
if ( "" === $meta->value || is_serialized( $meta->value ) || ( ! empty( $hideprefix ) && substr( $meta->key, 0, 1 ) === $hideprefix ) ) { |
| 279 |
|
continue; |
| 280 |
|
} |
| 281 |
|
|
| 282 |
|
$meta->key = rawurldecode( $meta->key ); |
| 283 |
|
$meta->value = rawurldecode( $meta->value ); |