WordPress at Your Fingertips
function is not described

WC_Product_Grouped::get_children() public WC 1.0

Return the children of this product.

{} It's a method of the class: WC_Product_Grouped{}

No Hooks.

Return

Array.

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'

Code of WC_Product_Grouped::get_children() WC 5.8.0

public function get_children( $context = 'view' ) {
	return $this->get_prop( 'children', $context );
}