Method |
Description |
|
delete_by_download_id ( integer $id ) |
Method to delete a download permission from the database by download ID. |
|
delete_by_id ( integer $id ) |
Method to delete a download permission from the database by ID. |
|
delete_by_order_id ( integer $id ) |
Method to delete a download permission from the database by order ID. |
|
get_downloads ( array $args = [] ) : array |
Get array of download ids by specified args. |
|
get_downloads_for_customer ( integer $customer_id ) : array |
Get a customers downloads. |
|
update_download_id ( integer $product_id, string $old_id, string $new_id ) |
Update download ids if the hash changes. |
|
update_user_by_order_id ( integer $order_id, integer $customer_id, string $email ) |
Update user prop for downloads based on order id. |
|