Main Menu
Sub Menu

wpdm_download_expired_message

Description


The wpdm_download_expired_message filter is used to filter the download expired message of the package when you set a download expired date.

Parameters


Two arguments are passed to this filter.

Usage


To change template data.

<?php add_filter('wpdm_download_expired_message','callback_function', 10, 3); ?>

Examples

<?php 
 add_filter('wpdm_download_expired_message','wpdm_change_download_expired_message', 10, 3); 
 function wpdm_change_download_expired_message($message, $expire_timestamp, $package){ 
    //your code here 
    // $package['expire_date'] has the date $message = "User your custom message here... or add a count download timer here"; 
    return $message; 
  } 
?>
Last updated on Nov 26, 2024

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.