woocommerce_order_item_quantity_html

woocommerce_order_item_quantity_html

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_item_quantity_html') is found 2 times:

  • /templates/checkout/form-pay.php line 52
     
    								do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
    							?>
    						</td>
    						<td class="product-quantity"><?php echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '&times;&nbsp;%s', esc_html( $item->get_quantity() ) ) . '</strong>', $item ); ?></td><?php // @codingStandardsIgnoreLine ?>
    						<td class="product-subtotal"><?php echo $order->get_formatted_line_subtotal( $item ); ?></td><?php // @codingStandardsIgnoreLine ?>
    					</tr>
    				<?php endforeach; ?>
    			<?php endif; ?>
    		</tbody>
    		<tfoot>
    
  • /templates/order/order-details-item.php line 44
    		} else {
    			$qty_display = esc_html( $qty );
    		}
    
    		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 );