WordPress at Your Fingertips
function is not described

WC_Product_Download::set_name() public WC 1.0

Set name.

{} It's a 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.

Code of WC_Product_Download::set_name() WC 5.7.0

public function set_name( $value ) {
	$this->data['name'] = wc_clean( $value );
}