WC_Order::set_customer_id()
Set customer id.
Method of the class: WC_Order{}
No Hooks.
Return
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 9.6.1
public function set_customer_id( $value ) { $this->set_prop( 'customer_id', absint( $value ) ); }