Main Menu
Sub Menu

individual_file_action

Description


The individual_file_action filter allows you to add or modify available actions for individual files inside a package.

Parameters


Four parameters are passed to this hook.

Usage


<?php add_filter('individual_file_action', 'my_individual_file_action', 10, 4); ?>

Examples

<?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;
}
?>
Last updated on Dec 7, 2025

Need More Clarification?

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.

Need Customization?

If you need additional customization on WordPress Download Manager or any type of custom support on WordPress you may contact our customization service.