woocommerce_order_item_display_meta_value

woocommerce_order_item_display_meta_value

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_order_item_display_meta_value') is found 3 times:

  • /includes/class-wc-order-item-meta.php line 154
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
                $formatted_meta[ $meta_id ] = array(
                    'key'   => $meta->key,
                    'label' => wc_attribute_label( $attribute_key, $this->product ),
                    'value' => apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value, $meta, $this->item ),
                );
            }
        }
     
        return apply_filters( 'woocommerce_order_items_meta_get_formatted', $formatted_meta, $this );
    }
  • /includes/class-wc-order-item-meta.php line 208
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
                $formatted_meta[ $formatted_meta_key ] = array(
                    'key'   => $meta_key,
                    'label' => wc_attribute_label( $attribute_key, $this->product ),
                    'value' => apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value, $this->meta, $this->item ),
                );
            }
        }
     
        return $formatted_meta;
    }
  • /includes/class-wc-order-item.php line 329
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
            $formatted_meta[ $meta->id ] = (object) array(
                'key'           => $meta->key,
                'value'         => $meta->value,
                'display_key'   => apply_filters( 'woocommerce_order_item_display_meta_key', $display_key, $meta, $this ),
                'display_value' => wpautop( make_clickable( apply_filters( 'woocommerce_order_item_display_meta_value', $display_value, $meta, $this ) ) ),
            );
        }
     
        return apply_filters( 'woocommerce_order_item_get_formatted_meta_data', $formatted_meta, $this );
    }