Title: Multisite role capabilities
Last modified: November 7, 2024

---

# Multisite role capabilities

 *  Resolved [yeshvanaken](https://wordpress.org/support/users/yeshvanaken/)
 * (@yeshvanaken)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/multisite-role-capabilities/)
 * hi,
 * I have a multisite installation with eight instances, with the first being the“
   main” website of an ecosystem.
 * I need to add the the wp super cache settings capability to the editor and administrator
   roles in every “child” site.
 * at the moment wp super cache settings are not visible, nor accessible to other
   roles than the **superadministrator**.
 * the issue is that the “main” site has some custom post types that I make accessible
   to the “children” websites. once a post i created, i need the editors and administrator
   to access the “Delete Cache On All Blogs” button inside the settings.
 * I tried this code with no success:
 *     ```wp-block-code
       function custom_grant_cache_access() {  $admin_role = get_role('administrator');  if ($admin_role) {    $admin_role->add_cap('wp_cache_manage_options');  }}add_action('admin_init', 'custom_grant_cache_access');function custom_cache_menu_access() {  if (current_user_can('administrator')) {    add_menu_page('WP Super Cache', 'WP Super Cache', 'wp_cache_manage_options', 'wp-cache', '', 'dashicons-admin-generic', 56);  }}add_action('network_admin_menu', 'custom_cache_menu_access');
       ```
   
 * is it possible in some way? or do you plan to update the plugin with this feature?

Viewing 1 replies (of 1 total)

 *  Plugin Support [Tamirat B. (a11n)](https://wordpress.org/support/users/tamirat22/)
 * (@tamirat22)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/multisite-role-capabilities/#post-18130093)
 * Hello [@yeshvanaken](https://wordpress.org/support/users/yeshvanaken/),
 * Thanks for reaching out to us.
 * We can’t help with custom code implementations like the one you have in mind,
   highlighted in our scope of support guidelines: [https://jetpack.com/support/scope-of-support/](https://jetpack.com/support/scope-of-support/).
 * That said, I would encourage you to consult our developer resources for help 
   with this: [https://developer.jetpack.com/docs/customization/wp-super-cache/](https://developer.jetpack.com/docs/customization/wp-super-cache/).
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Multisite role capabilities’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [cap](https://wordpress.org/support/topic-tag/cap/)
 * [capabilities](https://wordpress.org/support/topic-tag/capabilities/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tamirat B. (a11n)](https://wordpress.org/support/users/tamirat22/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/multisite-role-capabilities/#post-18130093)
 * Status: resolved