Main Menu
Sub Menu

individual_file_action_locked

Description


The individual_file_action_locked filter is used to customize the action buttons shown for locked files in a package.

Parameters


Four parameters are passed to this hook.

Usage


<?php add_filter('individual_file_action_locked', 'my_individual_file_action_locked', 10, 4); ?>

Examples

<?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;
}
?>
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.