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