WC_Product_Download::set_name()
Set name.
Method of the class: WC_Product_Download{}
No Hooks.
Return
null
. Nothing.
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 7.7.0
public function set_name( $value ) { $this->data['name'] = wc_clean( $value ); }