WC_Customer_Download::set_user_id()
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() WC Customer Download::set user id code WC 9.4.2
public function set_user_id( $value ) { $this->set_prop( 'user_id', absint( $value ) ); }