Description


Using this filter you want to control ( increase / decrease ) download speed

Parameters


One parameter is passed to this hook.

Usage


To add new tabs Under Package Settings section.

<?php add_filter('wpdm_download_speed','wpdm_change_speed',10,1);  ?>

Examples


<?php

add_filter('wpdm_download_speed','wpdm_change_speed',10,1);

function wpdm_change_speed($speed){
$speed = 10240; //in KB 
return $speed;
}

?>
Last Updated: Oct 9, 2015


Leave a Reply