WordPress at Your Fingertips
function is not described

WC_Customer_Download_Data_Store_Interface::delete_by_order_id() public WC 1.0

Method to delete a download permission from the database by order ID.

{} It's a method of the class: WC_Customer_Download_Data_Store_Interface{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer_Download_Data_Store_Interface = new WC_Customer_Download_Data_Store_Interface();
$WC_Customer_Download_Data_Store_Interface->delete_by_order_id( $id );
$id(int) (required)
Order ID.

Code of WC_Customer_Download_Data_Store_Interface::delete_by_order_id() WC 5.7.1

public function delete_by_order_id( $id );