Issue: Subscribers Cannot View Email Addresses
-
Hi Team,
I am experiencing an issue where subscribers are unable to view email addresses on user profiles in the Ultimate Member plugin. I have identified that the following code is responsible for removing the
user_emailargument:
File: class-account.phpif ( ! UM()->options()->get( 'account_email' ) && ! um_user( 'can_edit_everyone' ) ) { $args = str_replace(',user_email', '', $args);}Issue:The condition checks if the “account email” option is disabled and if the user does not have the capability to edit everyone. In this case, it removes
user_emailfrom the$args, preventing subscribers from viewing email addresses.Expected Behavior: Subscribers should be able to view email addresses unless specifically restricted by another setting.
Request:Could you please provide guidance on how to adjust this behavior? I would like subscribers to have the ability to view email addresses, or at least understand if there is a workaround.
The topic ‘Issue: Subscribers Cannot View Email Addresses’ is closed to new replies.