You can try
if( current_user_can( 'subscriber' ) ) {
add_filter( 'show_password_fields', '__return_false' );
}
see also
http://wpengineer.com/2285/disable-password-fields-for-non-admins/
Related Posts:
- Is there a way (plugin?) to restrict a user to being able to edit just one page?
- Specific way to allow WordPress users to view their current password? And edit it?
- How to give access to the particular page in wordpress for specific username/email NOT roles [closed]
- Override WordPress user with Oauth2 account
- How to prevent a post from being deleted?
- WP_User_Query and non-unique usermeta data
- How to stop wordpress from changing default .htaccess permissions to 444
- Cannot install plugins even though www-data has write permissions
- Loading posts associated only to the logged in user on recent posts page
- How can i force Display names to be the same as Usernames?
- Add new password rule to Ultimate Member register form
- How to create custom LOGIN and REGISTRATION forms?
- login to wordpress with Get variables instead of Post
- How can I let users to access plugin functions based on roles?
- $current_user var returns NULL
- Multisite functions to communicate with individual site functions
- delete_user_meta Delete one value out of array
- WordPress Plugin for One-Time Event Registration? [closed]
- Will WordPress username displayed somewhere in the site?
- Standard permissions for wordpress; Plugin installation asks for FTP credentials
- How to create a word press user with hashedpassword
- Upload files programmatically to users
- Is there any good tutorial to write custom login, registration and password recovery forms? [closed]
- Why does deactivating a plugin cause error: “You do not have sufficient permissions to access this page”?
- Plugin/Folder permission issues with Azure
- Mass Import Users without sending new user notification
- Current user in plugin returns NULL
- Correct wp-content ownership and permissions
- Advanced Custom Fields/User Role Editor – how to hide ACF for certain users?
- Two people sharing user in WordPress [closed]
- How to upload user profile image from frontend in wordpress ?
- Average Account Age
- Are these wp-content permissions safe?
- How to keep users unique id stored in session in addition to IP in WordPress plugin?
- How to get current post user id
- WordPress Central User Database
- How to read individual user’s directory and display content to that specific user?
- Plugin updates change folder permissions
- Linux Permissions and Ownership for WordPress
- How to create restrict content to users (by user, not by role)
- How can I change the meta_key for a particular piece of information?
- Updating plugins asks for FTP information, why? (this is a new one)
- Add menu page issues (permissions & position)
- Advanced Custom Fields – Disable Users to Edit Custom Fields
- Completely disabling password reset/recovery
- Is there any way to make myself an admin?
- Understanding State in WordPress Multisites
- How to have sample page for each new register users in a membership website
- Add Content to Content()
- What are the correct permissions so WP doesn’t ask for FTP credentials if installing plugin?
- Is there a plugin for WordPress for creating ‘Accounts’ where all users who belong to that Account can only see Account data? [closed]
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Why is my WordPress Plugin page requesting my FTP Login Credentials?
- How limit user connection?
- How to pass a query string to another page on the same site?
- Plugins & backup not working correctly on new Digital Ocean server
- WordPress /users/me endpoint request forbidden
- Personalized Author Area
- How to auto strip hyperlinks & images in wordpress post
- Plugin privelages for “editors”
- How to write to the plugin’s directory?
- Shortcode not displaying HTML within the function
- Janrain/Simple Modal under Redirected Domain
- Can’t save changes or modify settings in Dashboard but Pages and Posts are fine
- Disable Author Archive just for certain roles in bulk
- Create Woocommerce account password post-checkout on thank you page
- Can we hide a certain user in WP?
- how to create user profile pages and display them based on users roles
- Automatic chage password of pages after some time
- After reading 3 story by user ask for subscription popup
- Plugin updates, change file permissions on WordPress
- Comment restrictions Wodpress
- Login issue in WordPress
- Password Protect wp-content?
- How do I run my custom function in my plugin when a wordpress user is deleted?
- Can’t add or delete plugins – but I’m an admin [closed]
- WP Plugin permissions – create new files
- Cant visualize protected password portfolio elements
- User / membership Plugin [closed]
- How to see in Edit Comments if comment is from User and her Roles
- Custom User Notice Upon Login
- Database error when user logs in
- WordPress FTP/media directory permissions problem?
- How can I save cookies to members
- How to order users alphabetically by name? in plugin UPME
- Defined user role to access plugin’s pages
- Images not showing on homepage after migration [duplicate]
- page creator to leave comments ONLY
- Editor have not permissions for a plugin
- WordPress Permission Problems on Ubuntu 12.04 with LAMP stack
- How change menu for each user in plugin?
- How to set different users for different pages?
- Alter the reset password link
- Password Protected Directory Link Shows Maintenance Mode Page
- Convert usernames listed by the Groups plugin shortcode to displayed names?
- Want to add post to user dashboard
- Is it possible to send user new password after they clicking on forgot password in word press
- Two sites one PC
- Share or sync user table data with another user table
- Gravity Forms and Gravity View Permissions