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.8.7.0

apply_filters('woocommerce_order_item_display_meta_value') is found 3 times:

  • /includes/class-wc-order-item-meta.php line 154
     
    				$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
     
    				$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 310
    			$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 );
    	}