If you used any custom lock for your package, you can use this hook to enforce them.
Two parameters is passed to this hook.
To apply any custom lock to packages.
<?php add_action('wpdm_check_lock','my_check_lock',10,2); ?>
<?php
add_action('wpdm_check_lock','my_check_lock',10,2);
function my_check_lock($package_id, $lock){
//check your lock here, return true for lock or return $lock
$lock = true;
return $lock;
}
?>
For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.