| @@ 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; |
|
| @@ 299-301 (lines=3) @@ | ||
| 296 | $meta_data = $this->get_meta_data(); |
|
| 297 | ||
| 298 | foreach ( $meta_data as $meta ) { |
|
| 299 | if ( "" === $meta->value || is_serialized( $meta->value ) || ( ! empty( $hideprefix ) && substr( $meta->key, 0, 1 ) === $hideprefix ) ) { |
|
| 300 | continue; |
|
| 301 | } |
|
| 302 | ||
| 303 | $attribute_key = urldecode( str_replace( 'attribute_', '', $meta->key ) ); |
|
| 304 | $display_key = wc_attribute_label( $attribute_key, is_callable( array( $this, 'get_product' ) ) ? $this->get_product() : false ); |
|