WC_Customer_Download_Log::set_user_id()publicWC 1.0

Set user id.

Method of the class: WC_Customer_Download_Log{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Customer_Download_Log = new WC_Customer_Download_Log();
$WC_Customer_Download_Log->set_user_id( $value );
$value(int) (required)
Value to set.

WC_Customer_Download_Log::set_user_id() code WC 8.9.0

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