function add_read_wpse_93843(){
$role = get_role( 'subscriber' );
$role->add_cap( 'read' );
}
add_action( 'admin_init', 'add_read_wpse_93843' );
This code is work for me
Related Posts:
- Setting $_SERVER[‘HTTPS’]=’on’ prevents access to wp-admin
- How to add some custom HTML to the edit posts page
- Site Title and Tagline in Theme Options Page
- Jquery no more loading, load-scripts.php not found (404)
- Admin Bar (Toolbar) not showing on custom PHP file that loads WordPress
- Admin Media grid view images won’t load
- How to Join two tables from separate databases within WordPress
- Site Title and Tagline in Pagelines DMS Options Panel
- Enqueue Javascript Correctly for 3.5
- Sortable admin column for one meta key with three possible meta values
- WordPress if (is_page) translation on certain page
- Performance issues with large website [closed]
- How to override wp-admin styling
- List User order by ID in Descending order (Backend)
- JQuery not working on WordPress Admin page [closed]
- Admin username and password
- White Screen of Death – wp-admin
- Can’t extend some core classes
- Retrieving Author ID in wp-admin area
- How to create a form and display its content as table in admin panel?
- Namespace spl_autoload problem in WordPress admin
- Unreadable pagination
- remove wp floating submenu in wp dashboard
- My custom wp-admin php files stopped working
- Call to undefined function wp() in wp-blog-header.php
- Cannot access wp-admin (wordpress dashboard)
- Cannot access wp-admin/wp-login.php (WordPress backend) anymore, what could be wrong?
- Remove metabox from WordPress menu editor page?
- How to make my custom widget appear within WordPress widgets? Plugin development
- PHP version problem?
- Programmatically create page when saving custom post type post
- WordPress admin is incredibly slow [closed]
- inserting a post from an extern php file but post content doesn’t show on wp site
- How to change menu labels
- WordPress admin-ajax.php
- How can I open up my administrative panel to everyone?
- How do I modify the custom footer text and get theme version number to show in wordpress admin?
- WordPress ajax-action failing because of newline in response
- get_total () returns 0 – woocommerce [closed]
- Link blogname and blogdescription to the Options Framework
- retain querystring values when savincustom options in admin
- Usage of call back function of add_meta_box()
- AJAX wp_insert_user WORKS but responds with “The site is not enabled”
- WordPress wp-admin redirect and exception
- Override Admin menu icon
- Using admin-post.php for admin form but it directs me to admin-post.php white screen
- WordPress redirects to old login after migration
- I installed WordPress locally now how do I login?
- How to debug failed changes to posts?
- Aspx/Rss feed – failed to open stream: Redirection limit reached
- Is there a (offical) way for a theme to deactivate itself and show a message in admin?
- Help with accessing wp-admin page and resolving error messages
- How can I update WordPress plugins or WordPress itself in all server?
- Search bar for wp menu
- Fatal error login WordPress [duplicate]
- Has a PHP update given me a 404?
- Fatal error: wp-settings.php on line 199
- Hide Approved status for certain users in users list
- Class ‘WP_Privacy_Requests_Table’ not found
- wordpress contact form messages not sending although it saying they were sent successfully with this php code
- Save custom field on WP_List_Table
- Create “blank” admin page without having admin-bar/admin-menu for faster load
- How to separate the taxonomies list from the form so that editing taxonmies is the same as pages and posts?
- Editing the term_order field
- How to disable sub menu items from being created?
- Access to “My Site” is missing from the admin bar
- spl_autoload_register is slow for WordPress sites
- WP post meta – for loop inside for loop
- Admin backend, show post from a category and exclude the posts from subcategories
- HELP! Frontend User Profile Edit Won’t Update Email
- Right way to display the_author_meta fields?
- Use page-templates without creating theme
- Get value of submit button in custom post type
- defined (‘ABSPATH’) false after AJAX post to other PHP-file
- wp_query beginner
- I changed the password for the database user of my website, updated wp-config.php and wordpress asks to be reinstalled
- admin uploads pre_get_posts not working as expected
- Issue with search form admin panel after PHP migration
- Renaming “Expand Details” within “Add Media”
- WordPress error on my website
- Add options to WordPress backend
- Styling admin page rows in order of importance (checkboxes)
- admin-ajax.php loading many times
- WP Login Button for current domain
- What’s the .php file which generates the Custom Background page in the admin panel?
- How to replace wp-admin login page to another location?
- Adding jquery using php function
- Why can’t I enter the wordpress admin interface?
- How do I change the Go To Categories link in the term_updated_messages
- Why can’t I enter the wordpress admin interface?
- What is the best way to reset the site? Different fails while set up
- How to change wp-admin and wp-login urls
- How to create a User Role and give permission to only use Web Stories plugin?
- Add Woocommerce Customers link to custom admin menu
- Restricting access to a file for everyone except logged in users
- How rename wp-content and wp-admin folders correctly
- How to access admin menu labels and links on front-end?
- How to use the checked() function to check for a non-empty var
- How to do something when user profile rendereing?
- How are these PHP functions applied to a specific page in WordPress?