WordPress at Your Fingertips
function is not described

WC_Customer_Download::set_user_id() public WC 1.0

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

Code of WC_Customer_Download::set_user_id() WC 5.8.0

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