WC_Product_Grouped::get_children()publicWC 1.0

Return the children of this product.

Метод класса: WC_Product_Grouped{}

Хуков нет.

Возвращает

Массив.

Использование

$WC_Product_Grouped = new WC_Product_Grouped();
$WC_Product_Grouped->get_children( $context );
$context(строка)
What the value is for. Valid values are view and edit.
По умолчанию: 'view'

Код WC_Product_Grouped::get_children() WC 8.7.0

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