WC_Product_Grouped::set_children( array $children )

Return the children of this product.


Description Description


Parameters Parameters

$children

(Required) List of product children.


Top ↑

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 ) ) );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.