WC_Customer_Download_Data_Store_Interface::update_download_id()
Update download ids if the hash changes.
Метод класса: WC_Customer_Download_Data_Store_Interface{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$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) (обязательный)
- Product ID.
- $old_id(строка) (обязательный)
- Old ID.
- $new_id(строка) (обязательный)
- New ID.
Код WC_Customer_Download_Data_Store_Interface::update_download_id() WC Customer Download Data Store Interface::update download id WC 8.7.0
public function update_download_id( $product_id, $old_id, $new_id );