WC_Product_Attribute::set_visible( bool $value )

Set if visible.


Description Description


Parameters Parameters

$value

(Required) If is visible on Product's additional info tab.


Top ↑

Source Source

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

	public function set_visible( $value ) {
		$this->data['visible'] = wc_string_to_bool( $value );
	}


Top ↑

User Contributed Notes User Contributed Notes

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