WC_Customer_Download_Data_Store_Interface::delete_by_download_id()publicWC 1.0

Method to delete a download permission from the database by download 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->delete_by_download_id( $id );
$id(int) (required)
Download ID.

WC_Customer_Download_Data_Store_Interface::delete_by_download_id() code WC 9.0.1

public function delete_by_download_id( $id );