WC_Customer_Download_Data_Store_Interface::update_user_by_order_id()
Update user prop for downloads based on order id.
Method of the class: WC_Customer_Download_Data_Store_Interface{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Customer_Download_Data_Store_Interface = new WC_Customer_Download_Data_Store_Interface(); $WC_Customer_Download_Data_Store_Interface->update_user_by_order_id( $order_id, $customer_id, $email );
- $order_id(int) (required)
- Order ID.
- $customer_id(int) (required)
- Customer ID.
- $email(string) (required)
- Email Address.
WC_Customer_Download_Data_Store_Interface::update_user_by_order_id() WC Customer Download Data Store Interface::update user by order id code WC 9.4.2
public function update_user_by_order_id( $order_id, $customer_id, $email );