Remove post_parent so grouped simple products are also returned
Fixes #5178
This commit is contained in:
parent
66a1b93fec
commit
192c74eee6
|
@ -234,7 +234,6 @@ class WC_API_Products extends WC_API_Resource {
|
|||
'fields' => 'ids',
|
||||
'post_type' => 'product',
|
||||
'post_status' => 'publish',
|
||||
'post_parent' => 0,
|
||||
'meta_query' => array(),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue