Function wc_downloadable_file_permission
Grant downloadable product access to the file identified by $download_id
Parameters summary
string |
$download_id |
file identifier |
integer |
$product_id |
product identifier |
|
$order |
the order |
Return value summary
integer|boolean
|
insert id or false on failure |