The individual_file_action_locked filter is used to customize the action buttons shown for locked files in a package.
Four parameters are passed to this hook.
<?php add_filter('individual_file_action_locked', 'my_individual_file_action_locked', 10, 4); ?>
<?php
add_filter('individual_file_action_locked', 'my_individual_file_action_locked', 10, 4);
function my_individual_file_action_locked($actions_locked, $ID, $sfile, $fileID) {
$actions_locked['locked_custom'] = 'Unlock Required';
return $actions_locked;
}
?>
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.