Hi @snzhrski,
If you want to remove required from the First Name and Last Name field of the Vendor Registration form, then you can add the following code snippet at the bottom of the child theme’s functions.php file.
#-- Vendor Registration Required Fields --#
function seller_registration_required_fields($required_fields){
unset($required_fields['fname']);
unset($required_fields['lname']);
return $required_fields;
}
add_filter('dokan_seller_registration_required_fields', 'seller_registration_required_fields');
Thank you,
Thread Starter
Sancho
(@snzhrski)
Thank you very much. It’s really helped me!