WC_Product_Variable::set_children( array $children )

Sets an array of children for the product.


Description Description


Parameters Parameters

$children

(Required) Children products.


Top ↑

Source Source

File: includes/class-wc-product-variable.php

	public function set_children( $children ) {
		$this->children = array_filter( wp_parse_id_list( (array) $children ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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