Merge pull request #19848 from woocommerce/tweak/support-payment_method_in
Support payment_method_in when selecting orders
This commit is contained in:
commit
9b37eb980f
|
@ -232,7 +232,7 @@ class WC_Data_Store_WP {
|
|||
$wp_query_args['meta_query'][] = array(
|
||||
'key' => '_' . $key,
|
||||
'value' => $value,
|
||||
'compare' => '=',
|
||||
'compare' => is_array( $value ) ? 'IN' : '=',
|
||||
);
|
||||
} else { // Other vars get mapped to wp_query args or just left alone.
|
||||
$key_mapping = array(
|
||||
|
|
Loading…
Reference in New Issue