Main Menu
Sub Menu

wpdm_login_form_fields

Description


The wpdm_login_form_fields filter is used to add or modify input fields inside the WPDM login form.

Parameters


One parameter is passed to this hook.

Usage


 

<?php add_filter('wpdm_login_form_fields', 'my_wpdm_login_form_fields', 10, 1); ?>

Examples



<?php
add_filter('wpdm_login_form_fields', 'my_wpdm_login_form_fields', 10, 1);

function my_wpdm_login_form_fields($login_data_fields) { 
    $login_data_fields['custom_field'] = [
        'type'     => 'text',
        'label'    => 'Custom Field',
        'required' => false
    ];
    return $login_data_fields;
}

?>
Last updated on Dec 7, 2025

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.