Title: [Plugin: WP Help] Used with Adminimize plugin &amp; admin / editor roles
Last modified: August 20, 2016

---

# [Plugin: WP Help] Used with Adminimize plugin & admin / editor roles

 *  Resolved [hunnsdon](https://wordpress.org/support/users/hunnsdon/)
 * (@hunnsdon)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-help-used-with-adminimize-plugin-admin-editor-roles/)
 * After a long awaited update there was one issue for me that I now cannot get 
   to operate. I need to lockout any user below admin (i.e. editor) from editing/
   managing or adding topics.
 * Contacted Mark on his “markjaquith.wordpress.com” site. Got a good answer. Only
   I’m not an advanced user and don’t know how to accomplish the advice.
 * Mark wrote: July 18, 2012 at 2:31 pm
    “You’ll have to hook in and change the 
   roles assigned to the ‘wp-help’ custom post type.”
 * See orginal post on that site: 2nd post – Two thirds down the page
    [http://markjaquith.wordpress.com/2012/07/17/wp-help-one-dot-oh/](http://markjaquith.wordpress.com/2012/07/17/wp-help-one-dot-oh/)
 * I can quite happily follow step by step instructions in editing files.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jancbeck](https://wordpress.org/support/users/jancbeck/)
 * (@jancbeck)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-help-used-with-adminimize-plugin-admin-editor-roles/#post-2923910)
 * Hey hunnsdon,
 * when you look at the main wp-help.php file you see part where the custom post
   type is registered around line 100. The part where it sets the capabilities needed
   to read a post applies a filter
 * `'read_post' => apply_filters( 'cws_wp_help_view_documents_cap', 'edit_posts'),`
 * To change this you would need to create something like this to your themes functions.
   php:
 * `<?php add_filter('cws_wp_help_view_documents_cap', function() { return 'manage_options';})?
   >`
 * This is not tested but should overwrite the default requirements to view the 
   help files so only admins can see them.
 *  [Jason Resnick](https://wordpress.org/support/users/rezzz/)
 * (@rezzz)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-help-used-with-adminimize-plugin-admin-editor-roles/#post-2923936)
 * hi jancbeck
 * I tried this but getting a 500 error now and the site doesn’t load at all until
   I remove it.
 * Any help would be appreciated, thanks. Or if you can guide me in the right direction
   to get it to work.
 *  Thread Starter [hunnsdon](https://wordpress.org/support/users/hunnsdon/)
 * (@hunnsdon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-help-used-with-adminimize-plugin-admin-editor-roles/#post-2923941)
 * Unfortunately I’ve had to abandon this plugin for the time being as I need a 
   way to hide editing from other users.
 * If someone can come up with a solution then great, but until then I’m using ‘
   Dashboard Site Notes’ by Ben Irvin.
 *  [Drew Jaynes](https://wordpress.org/support/users/drewapicture/)
 * (@drewapicture)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-help-used-with-adminimize-plugin-admin-editor-roles/#post-2923958)
 * jancbeck’s filter would work on most servers but IIS servers (Windows) don’t 
   always play nice with anonymous functions. Using a more traditional filter should
   do the trick:
 *     ```
       function change_read_cap() {
       	return 'manage_options';
       }
       add_filter( 'cws_wp_help_view_documents_cap', 'change_read_cap' );
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: WP Help] Used with Adminimize plugin & admin / editor roles’
is closed to new replies.

 * ![](https://ps.w.org/wp-help/assets/icon.svg?rev=2938042)
 * [WP Help](https://wordpress.org/plugins/wp-help/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-help/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-help/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-help/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-help/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-help/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 4 replies
 * 4 participants
 * Last reply from: [Drew Jaynes](https://wordpress.org/support/users/drewapicture/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-help-used-with-adminimize-plugin-admin-editor-roles/#post-2923958)
 * Status: resolved