WC_Product_Download::set_id
Set ID.
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_id( $value );
- $value(string) (required)
- Download ID.
WC_Product_Download::set_id() WC Product Download::set id code WC 10.6.2
public function set_id( $value ) {
$this->data['id'] = wc_clean( $value );
}