$column_name ) : ?> orders as $customer_order ) { $order = wc_get_order( $customer_order ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited $item_count = $order->get_item_count() - $order->get_item_count_refunded(); ?> $column_name ) : $is_order_number = 'order-number' === $column_id; ?>
get_order_number() ); ?> get_status() ) ); ?> get_formatted_order_total(), $item_count ) ); ?> $action ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited if ( empty( $action['aria-label'] ) ) { // Generate the aria-label based on the action name. /* translators: %1$s Action name, %2$s Order number. */ $action_aria_label = sprintf( __( '%1$s order number %2$s', 'woocommerce' ), $action['name'], $order->get_order_number() ); } else { $action_aria_label = $action['aria-label']; } echo '' . esc_html( $action['name'] ) . ''; unset( $action_aria_label ); } } ?>
max_num_pages ) : ?>
max_num_pages ) !== $current_page ) : ?>
' . esc_html__( 'Browse products', 'woocommerce' ) . '', 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment ?>