Reply To: [Resolved] how hide tab only for user? not remove/disable
thank you for your appreciation. And sorry for my confusion about setting > general. That’s traditionnally the path used on admin dashboard. In regard of the picture, it’s the mandatory wp registration email field. This part is on your-site/members/USERNAME/settings.
The template file you can modify is members/single/settings/general.php
In that file is a form who contains a label and a input type for “email”. To hide, you could add a conditionnal for admin’s only.
For example, before both label and input lines, add
<?php if(is_super_admin() ): ?>
<label>bla
<input>bla
<?php endif; ?>
To be complete, you may want to show message to explain about the email field. In that case, add something like following above:
<?php if ( !is_super_admin() ) : ?>
<p>Ask site admin if you want to change your email address.</p>
<?php endif; ?>