' . esc_html( $current_user->display_name ) . '',
esc_url( wc_logout_url( wc_get_page_permalink( 'myaccount' ) ) )
);
?>
Log out', 'billow' ),
esc_html( $current_user->display_name ),
esc_url( wc_logout_url( wc_get_page_permalink( 'myaccount' ) ) )
);
?>
recent orders, manage your shipping and billing addresses, and edit your password and account details.', 'billow' ),
esc_url( wc_get_endpoint_url( 'orders' ) ),
esc_url( wc_get_endpoint_url( 'edit-address' ) ),
esc_url( wc_get_endpoint_url( 'edit-account' ) )
);
?>
__( 'Order', 'billow' ),
'order-date' => __( 'Date', 'billow' ),
'order-status' => __( 'Status', 'billow' ),
'order-total' => __( 'Total', 'billow' ),
'order-actions' => __( 'Actions', 'billow' ),
) );
$customer_orders = get_posts( apply_filters( 'woocommerce_my_account_my_orders_query', array(
'numberposts' => 3,
'meta_key' => '_customer_user',
'meta_value' => get_current_user_id(),
'post_type' => wc_get_order_types( 'view-orders' ),
'post_status' => array_keys( wc_get_order_statuses() ),
) ) );
if ( $customer_orders ) : ?>
$column_name ) : ?>
|
= 3) {
break;
} else {
$order = wc_get_order( $customer_order );
$item_count = $order->get_item_count();
?>
$column_name ) : ?>
|
get_order_number(); ?>
get_status() ) ); ?>
get_formatted_order_total(), $item_count );
?>
$action ) {
echo '' . esc_html( $action['name'] ) . '';
}
}
?>
|
__( 'Billing address', 'billow' ),
'shipping' => __( 'Shipping address', 'billow' ),
), $customer_id );
} else {
$get_addresses = apply_filters( 'woocommerce_my_account_get_addresses', array(
'billing' => __( 'Billing address', 'billow' ),
), $customer_id );
}
$oldcol = 1;
$col = 1;
?>