Forums

Hide email column from wp-admin/users.php and user-edit.php (2 posts)

  1. filiped
    Member
    Posted 1 year ago #

    Hi guys,

    I'm almost giving up. I'm running a multiuser blog with WordPress 3.0.1 and for security reasons, I need to hide user email addresses column in wp-admin/users.php (ms-users.php) and the email field from wp-admin/user-edit.php

    Hide this even from admin blog (but not from super admin).

    Is this possible using hooks? I can find in this forum users hiding and adding contact information in user-edit.php, but not email (and email column from users.php).

    Is this possible?

  2. filiped
    Member
    Posted 1 year ago #

    As I can see, this content is generated in "wp-admin/includes/template.php", and deleting this code bellow is the result I need:

    case 'email':
                    $r .= "<td $attributes><a href='mailto:$email' title='" . sprintf( __('E-mail: %s' ), $email ) . "'>$email</a></td>";
                    break;

    But this wont be good for updates :(

Topic Closed

This topic has been closed to new replies.

About this Topic