Main Menu
Sub Menu



This hook is triggered after a CVS file import is completed.


One parameter/argument is passed to this hook.


<?php add_action("wpdm_csv_import_completed", "your_function"); ?>


add_action("wpdm_csv_import_completed", "your_function");
function your_function($package_count){
    $message = "Total {$package_count} packages are imported successfully!";
    $params = array(
            'subject' => "Your CSV file import is completed!",
            'to_email' => get_option('admin_email'),
            'from_name' => 'WordPress Download Manager',
            'from_email' => '',
            'message' => $message

    \WPDM\Email::send("default", $params);     



Last updated on Dec 14, 2020

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.