I would like to make profile info mandatory instead of optional (any).
How can I do this?
Please try this PHP snippet
add_filter(
'hivepress/v1/forms/user_update',
function( $form ) {
$form['fields']['description']['required'] = true;
return $form;
},
1000
);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.