WC_Order::set_customer_id
Set customer id.
Method of the class: WC_Order{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Order = new WC_Order(); $WC_Order->set_customer_id( $value );
- $value(int) (required)
- Customer ID.
WC_Order::set_customer_id() WC Order::set customer id code WC 10.5.0
public function set_customer_id( $value ) {
$this->set_prop( 'customer_id', absint( $value ) );
}