WC_Product_Variable::set_visible_children( array $visible_children )

Sets an array of visible children only.


Description Description


Parameters Parameters

$visible_children

(Required) List of visible children products.


Top ↑

Source Source

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

	public function set_visible_children( $visible_children ) {
		$this->visible_children = array_filter( wp_parse_id_list( (array) $visible_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.