WC_Product_Grouped::set_children( array $children )
Return the children of this product.
Description Description
Parameters Parameters
- $children
-
(Required) List of product children.
Source Source
File: includes/class-wc-product-grouped.php
public function set_children( $children ) { $this->set_prop( 'children', array_filter( wp_parse_id_list( (array) $children ) ) ); }