Main Menu
Sub Menu



This hook is triggered after import each package, when you using bulk import from CSV or dir.


Two parameters/arguments are passed to this hook.


<?php add_action("after_import_package", "your_function", 10, 2); ?>


add_action("after_import_package", "your_function", 10, 2);
function your_function($post_id, $file_info){
    $edit = "<a href=".get_edit_post_link( $post_id).">Edit Package</a>"; 
    $view = "<a href=".get_permalink( $post_id ).">Edit Package</a>";
    $message = "Package Title: {$file_info['post_title']}
    wp_mail(get_option("admin_email"), "Package Imported Successfully", $message, "From: no-reply@sitename\r\nContent-type: text/html\r\n"); 



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.