WC_Customer_Download::set_user_id()publicWC 1.0

Set user 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_user_id( $value );
$value(int) (required)
User ID.

WC_Customer_Download::set_user_id() code WC 9.4.2

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