Remove post_parent so grouped simple products are also returned
Fixes #5178
This commit is contained in:
parent
392e1d57c0
commit
08b94299d3
|
@ -234,8 +234,7 @@ class WC_API_Products extends WC_API_Resource {
|
|||
'fields' => 'ids',
|
||||
'post_type' => 'product',
|
||||
'post_status' => 'publish',
|
||||
'post_parent' => 0,
|
||||
'meta_query' => array(),
|
||||
'meta_query' => array(),
|
||||
);
|
||||
|
||||
if ( ! empty( $args['type'] ) ) {
|
||||
|
|
Loading…
Reference in New Issue