WC_Customer_Download_Data_Store_Interface::delete_by_id()
Method to delete a download permission from the database by 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_id( $id );
- $id(int) (required)
- Download Permission ID.
WC_Customer_Download_Data_Store_Interface::delete_by_id() WC Customer Download Data Store Interface::delete by id code WC 8.7.0
public function delete_by_id( $id );