Remove post_parent so grouped simple products are also returned
Fixes #5178
This commit is contained in:
parent
66a1b93fec
commit
192c74eee6
|
@ -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