$column_name ) : ?> orders as $customer_order ) : $order = wc_get_order( $customer_order ); $item_count = $order->get_item_count(); ?> $column_name ) : ?>
get_order_number(); // WPCS: XSS OK. ?> get_status() ) ); ?> get_formatted_order_total(), $item_count ); // WPCS: XSS OK. ?> array( 'url' => $order->get_checkout_payment_url(), 'name' => __( 'Pay', 'bs4' ), ), 'view' => array( 'url' => $order->get_view_order_url(), 'name' => __( 'View', 'bs4' ), ), 'cancel' => array( 'url' => $order->get_cancel_order_url( wc_get_page_permalink( 'myaccount' ) ), 'name' => __( 'Cancel', 'bs4' ), ), ); if ( ! $order->needs_payment() ) { unset( $actions['pay'] ); } if ( ! in_array( $order->get_status(), apply_filters( 'woocommerce_valid_order_statuses_for_cancel', array( 'pending', 'failed' ), $order ), true ) ) { unset( $actions['cancel'] ); } $actions = apply_filters( 'woocommerce_my_account_my_orders_actions', $actions, $order ); if ( $actions ) { foreach ( $actions as $key => $action ) { ?> >
max_num_pages ) : ?>
href=""> max_num_pages ) !== $current_page ) : ?> href="">
href="">