title: Working add_action for after new package created wordpress download manager plugin
body: <p>I am using wordpress download manager and now i want to send email to wordpress users. Everything is fine but I don't know to select the add_action. </p>
  
  <p>I found two add_action references:</p>
  
  <ol>
  <li>create_package_frontend</li>
  <li>after_add_package</li>
  </ol>
  
  <p>These two are not working for me. </p>
  
  <p>If anyone have ideas to "send email to wordpress users when a new file is been added in download manager plugin"</p>
  
  <p>The plugin link is www.wpdownloadmanager.com</p>
  
  <p>I added these codes in php file</p>
  
  <pre><code>function notify_admin($package_id, $package){
  
       $edit = "&lt;a href='".get_edit_post_link( $package_id)."'&gt;Edit Package&lt;/a&gt;&lt;br/&gt;"; 
       $view = "&lt;a href='".get_permalink( $package_id )."'&gt;Edit Package&lt;/a&gt;&lt;br/&gt;";
       $message = "Package Title: {$package-&gt;post_title}&lt;br/&gt;{$view}&lt;br/&gt;{$edit}";
       wp_mail(get_option("admin_email"), "New Package Added", $message, "From: no-reply@sitename\r\nContent-type: text/html\r\n"); 
  }
  
  add_action("after_add_package", "notify_admin");
  </code></pre>