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

do_action('woocommerce_order_item_meta_start') is found 5 times:

  • /templates/checkout/form-pay.php line 45
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    <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 87
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    * @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_start', $item_id, $item, $order, $plain_text );
     
    $item_meta = wc_display_item_meta(
        $item,
        array(
            'before'       => '',
            'after'        => '',
  • /templates/emails/email-order-items.php line 163
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    * @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_start', $item_id, $item, $order, $plain_text );
     
    wc_display_item_meta(
        $item,
        array(
            'label_before' => '<strong class="wc-item-meta-label" style="float: ' . ( is_rtl() ? 'right' : 'left' ) . '; margin-' . esc_attr( $margin_side ) . ': .25em; clear: both">',
        )
  • /templates/emails/plain/email-order-items.php line 90
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
        // 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
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
        }
     
        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>