WC_Product_Grouped::get_children
Return the children of this product.
Method of the class: WC_Product_Grouped{}
No Hooks.
Returns
Int[].
Usage
$WC_Product_Grouped = new WC_Product_Grouped(); $WC_Product_Grouped->get_children( $context );
- $context(string)
- What the value is for. Valid values are view and edit.
Default:'view'
WC_Product_Grouped::get_children() WC Product Grouped::get children code WC 10.8.1
public function get_children( $context = 'view' ) {
return $this->get_prop( 'children', $context );
}