woocommerce_order_item_meta_start

woocommerce_order_item_meta_start

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_order_item_meta_start') is found 4 times:

  • /templates/checkout/form-pay.php line 45
    						<td class="product-name">
    							<?php
    								echo wp_kses_post( apply_filters( 'woocommerce_order_item_name', $item->get_name(), $item, false ) );
    
    								do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );
    
    								wc_display_item_meta( $item );
    
    								do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
    							?>
    						</td>
    
  • /templates/emails/email-order-items.php line 58
    			echo wp_kses_post( ' (#' . $sku . ')' );
    		}
    
    		// allow other plugins to add additional product information here.
    		do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
    
    		wc_display_item_meta(
    			$item,
    			array(
    				'label_before' => '<strong class="wc-item-meta-label" style="float: ' . esc_attr( $text_align ) . '; margin-' . esc_attr( $margin_side ) . ': .25em; clear: both">',
    			)
    
  • /templates/emails/plain/email-order-items.php line 43
    		echo ' = ' . $order->get_formatted_line_subtotal( $item ) . "\n";
    		// phpcs:enable WordPress.Security.EscapeOutput.OutputNotEscaped
    
    		// allow other plugins to add additional product information here.
    		do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
    		// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    		echo strip_tags(
    			wc_display_item_meta(
    				$item,
    				array(
    					'before'    => "\n- ",
    
  • /templates/order/order-details-item.php line 46
    		}
    
    		echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '&times;&nbsp;%s', $qty_display ) . '</strong>', $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    
    		do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );
    
    		wc_display_item_meta( $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    
    		do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
    		?>
    	</td>