WordPress at Your Fingertips
function is not described

WC_Customer_Download::set_product_id() public WC 1.0

Set product id.

{} It's a method of the class: WC_Customer_Download{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->set_product_id( $value );
$value(int) (required)
Product ID.

Code of WC_Customer_Download::set_product_id() WC 5.7.1

public function set_product_id( $value ) {
	$this->set_prop( 'product_id', absint( $value ) );
}