Hello! I am having a lot of feedback from vendors about the “Current Password” and “New Password” fields. They say it is confusing when they are filling out their vendor profile. Is there a way to put a description underneath them to explain to only use them to change your password??
1 Like
Hi,
Please use these PHP snippets:
add_filter(
'hivepress/v1/forms/user_update',
function( $form ) {
if(isset($form['fields']['password'])){
$form['fields']['password']['description'] = 'custom text here';
}
return $form;
},
1000
);
add_filter(
'hivepress/v1/forms/user_update',
function( $form ) {
if(isset($form['fields']['current_password'])){
$form['fields']['current_password']['description'] = 'custom text here';
}
return $form;
},
1000
);
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.