Thanks for the quick reply!
The website is private and I cannot make it public in an instance.
The download links have the following HTML:
<a class="wpdm-download-link wpdm-download-locked" rel="nofollow" href="#" onclick="location.href='https://linkhere';return false;"><i class=""></i>Downloaden</a>
The link is created by this code in my custom wpdm-all-downloads.php file:
<td class="pdf-file">
<small>
<?php
$number_files = count($data['files']);
if ($number_files == 0){
echo "<span style='color:#cccccc'>Niet beschikbaar</span>";
} else {
echo "(" . $number_files . ") " . $download_link;
}
?>
</small>
</td>
The $download_link outputs the HTML with the classes: “wpdm-download-link wpdm-download-locked”.
What is the right way to remove them?
I’ve found a few parts of this code in the wpdm-functions.php file, but it won’t change when I edit it and place it in my Child-theme.
Thanks again!