Add array to woocommerce_downloadable_file_permission_format
This commit is contained in:
parent
0a3cdc43ca
commit
64c09cabd7
|
@ -77,7 +77,7 @@ function woocommerce_downloadable_file_permission( $download_id, $product_id, $o
|
|||
'%s',
|
||||
'%s',
|
||||
'%d'
|
||||
));
|
||||
), $data);
|
||||
|
||||
if ( ! is_null( $expiry ) ) {
|
||||
$data['access_expires'] = $expiry;
|
||||
|
|
Loading…
Reference in New Issue