WC_Customer_Download_Data_Store_Interface::delete_by_download_id()
Method to delete a download permission from the database by download ID.
Метод класса: 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->delete_by_download_id( $id );
- $id(int) (обязательный)
- Download ID.
Код WC_Customer_Download_Data_Store_Interface::delete_by_download_id() WC Customer Download Data Store Interface::delete by download id WC 9.3.1
public function delete_by_download_id( $id );