Order id in woocommerce_customer -> get_downloadable_products(). Closes #104.
This commit is contained in:
parent
41a428227a
commit
18a80e8f84
|
@ -181,7 +181,8 @@ class woocommerce_customer {
|
|||
'download_url' => add_query_arg('download_file', $result->product_id, add_query_arg('order', $result->order_key, add_query_arg('email', $user_info->user_email, home_url()))),
|
||||
'product_id' => $result->product_id,
|
||||
'download_name' => $download_name,
|
||||
'order_key' => $result->order_key,
|
||||
'order_id' => $order->id,
|
||||
'order_key' => $order->order_key,
|
||||
'downloads_remaining' => $result->downloads_remaining
|
||||
);
|
||||
endforeach;
|
||||
|
|
Loading…
Reference in New Issue