The individual_file_action filter allows you to add or modify available actions for individual files inside a package.
Four parameters are passed to this hook.
<?php add_filter('individual_file_action', 'my_individual_file_action', 10, 4); ?>
<?php
add_filter('individual_file_action', 'my_individual_file_action', 10, 4);
function my_individual_file_action($actions, $ID, $sfile, $fileID) {
$actions['custom_action'] = 'My Custom Action';
return $actions;
}
?>
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.