WC_Customer_Download_Data_Store_Interface::update_download_id()publicWC 1.0

Update download ids if the hash changes.

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_download_id( $product_id, $old_id, $new_id );
$product_id(int) (required)
Product ID.
$old_id(string) (required)
Old ID.
$new_id(string) (required)
New ID.

WC_Customer_Download_Data_Store_Interface::update_download_id() code WC 9.4.2

public function update_download_id( $product_id, $old_id, $new_id );