Support » Plugin: WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin » hiding password on admin backend panel

  • hi, the plugin works great, but how can i hide my email password on admin backend for security pusposes?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Number 1 reason why I uninstalled.

    Im pretty sure you colud write a function that can remove this input field via javascript, based on the role the user has.

    $user = wp_get_current_user();
    if ( in_array( ‘author’, (array) $user->roles ) ) {
    //The user has the “author” role
    //and now some magic to remove the field, maybe some js

    Or you can try it with 2 admin css files. one file for you, the admin, and one file not for admins with this


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hiding password on admin backend panel’ is closed to new replies.