WC_Product_Download::set_name
Set name.
Method of the class: WC_Product_Download{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Product_Download = new WC_Product_Download(); $WC_Product_Download->set_name( $value );
- $value(string) (required)
- Download name.
WC_Product_Download::set_name() WC Product Download::set name code WC 10.6.2
public function set_name( $value ) {
$this->data['name'] = wc_clean( $value );
}