WC_Customer_Download::set_product_id()
Set product id.
Method of the class: WC_Customer_Download{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Customer_Download = new WC_Customer_Download(); $WC_Customer_Download->set_product_id( $value );
- $value(int) (required)
- Product ID.
WC_Customer_Download::set_product_id() WC Customer Download::set product id code WC 9.6.1
public function set_product_id( $value ) { $this->set_prop( 'product_id', absint( $value ) ); }