Main Menu
Sub Menu



If you want to add new settings under Downloads --> Add New --> Lock Options --> Enable Email Lock , you can use this hook.


One parameter is passed to this hook.


To add new settings under Email Lock section in Add New/Edit Package page.
<?php add_action('wpdm_custom_form_field','wpdm_ask_for_custom_data',10,1); ?>



function wpdm_ask_for_custom_data($pid)
    $cff = get_post_meta($pid, '__wpdm_custom_form_field', true);
    $idl = get_post_meta($pid, '__wpdm_email_lock_idl', true);
    if (!$cff) $cff = array();

<td><label><input checked="checked" name="" type="checkbox" value="1" /> <?php _e("Ask for Visitor's Name","wpdmpro");?></label>

<hr noshade="noshade" size="1" />

After submit form: <label><input id="idl" checked="checked" name="file[email_lock_idl]" type="radio" value="0" /> Mail Download Link</label> 
<label><input id="idl" checked="checked" name="file[email_lock_idl]" type="radio" value="1" /> Downlaod Instantly</label>



Last updated on Jul 16, 2016

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.