Main Menu
Sub Menu


You can use wpdm_onstart_download action to do something just before start download.


You can use the following code to send email notification before someone downloads a package

function download_notification( $package ) {
    $package_data = get_post( $package['ID'] );
    $headers      = 'From: Site Name <>' . "\r\n";
    $headers      .= 'Content-type: text/html' . "\r\n";
    $message      = "Downloader's IP: " . $_SERVER['REMOTE_ADDR'];
    wp_mail( get_option( "admin_email" ), "Download Notification: " . $package_data->post_title, $message, $headers );

add_action( "wpdm_onstart_download", "download_notification" ); 


Last updated on Feb 21, 2023

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.