woocommerce_order_item_meta_end

woocommerce_order_item_meta_end

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_order_item_meta_end') is found 5 times:

  • /templates/checkout/form-pay.php line 49
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
                    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>
            <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; ?>
  • /templates/emails/email-order-items.php line 119

    * @param WC_Order $order The order object.
    * @param bool $plain_text Whether the email is plain text or not.
    * @since 2.3.0
    */
    do_action( ‘woocommerce_order_item_meta_end’, $item_id, $item, $order, $plain_text );

    ?>

  • /templates/emails/email-order-items.php line 181

    * @param WC_Order $order The order object.
    * @param bool $plain_text Whether the email is plain text or not.
    * @since 2.3.0
    */
    do_action( ‘woocommerce_order_item_meta_end’, $item_id, $item, $order, $plain_text );
    }
    ?>

    Share this:

  • /templates/emails/plain/email-order-items.php line 106
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
            )
        );
     
        // allow other plugins to add additional product information here.
        do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, $plain_text );
    }
    // Note.
    if ( $show_purchase_note && $purchase_note ) {
        echo "\n" . do_shortcode( wp_kses_post( $purchase_note ) );
    }
    echo "\n\n";
  • /templates/order/order-details-item.php line 50
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
        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>
     
    <td class="woocommerce-table__product-total product-total">
        <?php echo $order->get_formatted_line_subtotal( $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    </td>