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

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 52
    							<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 endif; ?>
    
    							<?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 ( $is_order_number ) : ?>
    								<?php /* translators: %s: the order number, usually accompanied by a leading # */ ?>
    								<a href="<?php echo esc_url( $order->get_view_order_url() ); ?>" aria-label="<?php echo esc_attr( sprintf( __( 'View order number %s', 'woocommerce' ), $order->get_order_number() ) ); ?>">
    									<?php echo esc_html( _x( '#', 'hash before order number', 'woocommerce' ) . $order->get_order_number() ); ?>
    								</a>