parent
5e74771858
commit
abf4d75e8e
|
@ -22,7 +22,7 @@ $customer_orders = get_posts( apply_filters( 'woocommerce_my_account_my_orders_q
|
||||||
'meta_key' => '_customer_user',
|
'meta_key' => '_customer_user',
|
||||||
'meta_value' => get_current_user_id(),
|
'meta_value' => get_current_user_id(),
|
||||||
'post_type' => wc_get_order_types( 'view-orders' ),
|
'post_type' => wc_get_order_types( 'view-orders' ),
|
||||||
'post_status' => array_keys( wc_get_order_statuses() )
|
'post_status' => array_keys( wc_get_order_statuses() ),
|
||||||
) ) );
|
) ) );
|
||||||
|
|
||||||
if ( $customer_orders ) : ?>
|
if ( $customer_orders ) : ?>
|
||||||
|
|
Reference in New Issue