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