Hi! I have notification add on so there is a metafield with the numebrs of downloaded.
How can i call the funciton to know how many times a file is downloaded?
Here is how you could do it with code:
/** @var CUAR_PrivateFileAddOn $pf_addon */
$pf_addon = cuar_addon('private-files');
$downloadCount = $pf_addon->get_file_download_count($post_id, $file_id, $user_id)
The topic ‘Add different style to downloaded file and not’ is closed to new replies.