Hello!
How can I disable the ability to update a user profile?
Hello!
How can I disable the ability to update a user profile?
Please try this PHP snippet
add_filter(
'hivepress/v1/forms/user_update/errors',
function( $errors, $form ) {
$errors[] = 'Unfortunately, there is no possiblity to edit user profile data.';
return $errors;
},
1000,
2
);
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.