WC_Product_Attribute::set_visible()
Set if visible.
{} It's a method of the class: WC_Product_Attribute{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Product_Attribute = new WC_Product_Attribute(); $WC_Product_Attribute->set_visible( $value );
- $value(true|false) (required)
- If is visible on Product's additional info tab.
Code of WC_Product_Attribute::set_visible() WC Product Attribute::set visible WC 6.6.1
public function set_visible( $value ) { $this->data['visible'] = wc_string_to_bool( $value ); }