Main Menu
Sub Menu

single_file_download_link_label – Filters the single file download link label of the package before print it.

Description


The “wpdm_single_file_download_link_label” filter is used to filter the single file download link label of the package before print it.

Parameters


Two arguments are passed to this filter.

$link_label

Single file download link label, Default: "Download"

$package

Array containing all package data

Usage


To change template data.
<?php add_filter('single_file_download_link_label','callback_function',10,2); ?>

Examples

<?php
add_filter('single_file_download_link_label','wpdm_change_signle_file_download_link_label',10,2);
function wpdm_change_signle_file_download_link($link_label, $package){
   $link_label = "Download Now!"
   return $link_label;
}
?>
Last updated on Apr 9, 2017

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.