Title: Enable editor level access?
Last modified: June 21, 2021

---

# Enable editor level access?

 *  Resolved [Dave](https://wordpress.org/support/users/deeve007/)
 * (@deeve007)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-editor-level-access/)
 * Hi there,
 * How can I enable access to for Editor level users to this plugin settings page
   please?
 * And might be an idea to add this in the settings if it’s not too difficult, very
   useful when you want to allow client users to edit SEO but not access all website
   settings.
 * Thanks.

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

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-editor-level-access/#post-14580121)
 * Hi Dave,
 * You can do that by defining `THE_SEO_FRAMEWORK_SETTINGS_CAP` before TSF launches.
   You can do this at `wp-config.php`, or via a [mu-plugin](https://wordpress.org/support/article/must-use-plugins/).
 * For example, for Editor (if that role’s capability is not altered):
 *     ```
       define( 'THE_SEO_FRAMEWORK_SETTINGS_CAP', 'edit_pages' );
       ```
   
 * For roles and capabilities, see this article about… well, [roles and capabilities](https://wordpress.org/support/article/roles-and-capabilities/).
 * We’re not going to add this as a UI-editable option for a multitude of reasons,
   among security, support and maintenance burden, unwelcome for some webmasters,
   etc.
    -  This reply was modified 4 years, 11 months ago by [Sybre Waaijer](https://wordpress.org/support/users/cybr/).
      Reason: misprint
 *  Thread Starter [Dave](https://wordpress.org/support/users/deeve007/)
 * (@deeve007)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-editor-level-access/#post-14580204)
 * So for the mu-plugin (first I’ve heard of these!) do I just need to create a 
   PHP file with that code in it, and place it in the “wp-content/mu-plugins” directory?
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-editor-level-access/#post-14580831)
 * Hi Dave,
 * Yes, mu-plugins are essentially plugins, but they load before regular plugins
   and cannot be disabled. Most of WordPress is loaded before mu-plugins are, and
   so they can read blog IDs, prepare filters and actions, etc.
 * The main mu-plugin file looks much like a plugin file, such as [https://plugins.trac.wordpress.org/browser/hello-dolly/trunk/hello.php](https://plugins.trac.wordpress.org/browser/hello-dolly/trunk/hello.php).
 * In the case of `hello.php`, that’d then be located at `../wp-content/mu-plugins/
   hello.php`. You’ll have to create the `/mu-plugins/` folder if it doesn’t exist
   yet.
 * The key here is that the settings-capability constant must be defined before 
   The SEO Framework loads; it is why I recommended using a mu-plugin or `wp-config.
   php`.
    -  This reply was modified 4 years, 11 months ago by [Sybre Waaijer](https://wordpress.org/support/users/cybr/).
      Reason: Clarity

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

The topic ‘Enable editor level access?’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/enable-editor-level-access/#post-14580831)
 * Status: resolved