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
162 163 164 | public function set_children( $children ) { $this ->set_prop( 'children' , array_filter ( wp_parse_id_list( ( array ) $children ) ) ); } |