woocommerce_my_account_my_orders_column_

woocommerce_my_account_my_orders_column_

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_my_account_my_orders_column_') is found 2 times:

  • /templates/myaccount/my-orders.php line 59
    				<tr class="order">
    					<?php foreach ( $my_orders_columns as $column_id => $column_name ) : ?>
    						<td class="<?php echo esc_attr( $column_id ); ?>" data-title="<?php echo esc_attr( $column_name ); ?>">
    							<?php if ( has_action( 'woocommerce_my_account_my_orders_column_' . $column_id ) ) : ?>
    								<?php do_action( 'woocommerce_my_account_my_orders_column_' . $column_id, $order ); ?>
    
    							<?php elseif ( 'order-number' === $column_id ) : ?>
    								<a href="<?php echo esc_url( $order->get_view_order_url() ); ?>">
    									<?php echo _x( '#', 'hash before order number', 'woocommerce' ) . $order->get_order_number(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    								</a>
    
    
  • /templates/myaccount/orders.php line 45
    				<tr class="woocommerce-orders-table__row woocommerce-orders-table__row--status-<?php echo esc_attr( $order->get_status() ); ?> order">
    					<?php foreach ( wc_get_account_orders_columns() as $column_id => $column_name ) : ?>
    						<td class="woocommerce-orders-table__cell woocommerce-orders-table__cell-<?php echo esc_attr( $column_id ); ?>" data-title="<?php echo esc_attr( $column_name ); ?>">
    							<?php if ( has_action( 'woocommerce_my_account_my_orders_column_' . $column_id ) ) : ?>
    								<?php do_action( 'woocommerce_my_account_my_orders_column_' . $column_id, $order ); ?>
    
    							<?php elseif ( 'order-number' === $column_id ) : ?>
    								<a href="<?php echo esc_url( $order->get_view_order_url() ); ?>">
    									<?php echo esc_html( _x( '#', 'hash before order number', 'woocommerce' ) . $order->get_order_number() ); ?>
    								</a>