There is only one hook for threaded comments depth – thread_comments_depth_max and it sets max value for depth ( default is 10 ), you can use this filter and set max depth fox non-Super Admins number that you want.
if ( ! current_user_can( 'manage_network' ) ) {
mamaduka_thread_comments_depth_max( $maxdeep ){
return 5; // or any number you want
}
add_filter( 'thread_comments_depth_max', 'mamaduka_thread_comments_depth_max' );
Related Posts:
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- Restrict Admin Capabilities in MultiSite
- Possible to make custom role in multisite that can add sites?
- Adding capabilities to super admins
- Prevent user creating new users with specific roles
- How can I manage all multisite pending comments in one place?
- How do I fix problems with users not being able to publish and only submit for review after upgrade of Multisites installation?
- Stop wordpress from sending out moderation emails
- Allowing logged in users to comment without moderation across a multisite installation
- What are the differences in capabilities between the super-administrator and administrator?
- Replacing the default content created while the site creation
- In MultiSite, can some users automatically have Site Admin rights on all sites, without granting them Network Admin access?
- Restrict Admin Capabilities in MultiSite
- create_users capabilities on a role on multisite
- current_user_can() always returns true if user is super admin
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Add menu items/actions for multisite users who are registered on the network but do not have a role or capability in any sites
- “You must be logged in to comment” but I am already logged in
- Subsite access without being a member of the subsite in wp multisite network
- Restrict Capability of Administrator to Create, Edit and Delete Pages in Multisite
- Getting recent posts from all blogs on mother blog – multisite
- How to change a user role after registering in multisite?
- How do I change discussion settings for all blogs in multisite?
- 301 Redirection After Comment
- Allow editors to switch sites (Multisite)
- Multisite WP-API json v2 : can i fetch all comments on all sites with a single query?
- Number of total comment does not tally with the number of comment?
- A different role for each site in a multisite
- How to give “author” user role appropriate capabilities to add PollDaddy polls? WordPress multisite
- Comment reporting for Multisite
- Subdomain add comment redirect to 404 not found page iis server
- Non-super-admin users cannot access CPT even though I have explicitly added the capabilities to the user role
- Site Redirecting to wp-signup.php
- Site admin in a network install can’t edit users?
- Are nested subdomains possible with a subdomain multisite?
- Querying posts from multiple sites in a network?
- is_front_page() malfunction?
- How can I diagnose a slow WordPress admin?
- BLOG_ID_CURRENT_SITE vs. SITE_ID_CURRENT_SITE in WordPress Multisite?
- Shared table across network
- WP-Admin not working properly at WordPress multisite with subdirectories
- Turn off ms-files.php after network setup
- Opinions whether to go multisite VS 3 separate WP installation [closed]
- Multisite: differences between subdomain and subdirectory mode? Can it be switch after installation?
- Ban SiteNames Multisite
- WP MultiSite API – Create new sites
- Multisite – sub-subfolders for certain blogs
- Multisite behind Varnish
- How do I know if a user has a blog in WordPress Multisite?
- Multisite – how to remove the root ‘/’ site?
- List Recent Comments from Across a Multi-site Network
- Configure WordPress to read from database only, never write
- How does WordPress connect sites and the wp_users table?
- WordPress multisite with domain mapping and virtual host on local with fake domain
- Don’t allow access to wp-admin but allow admin-ajax requests to be fulfilled on frontend?
- Timeout While Upgrading Network in Multi-site
- Full Domain Mapping with WP3 in Multiuser Mode
- How to migrate WordPress Blogs into Multisite without using the GUI-Import/Export Feature
- WordPress network (multisite) /wp-admin/ redirect loop (ERR_TOO_MANY_REDIRECTS)
- Suppress subdirectory from WordPress Multisite primary URL
- add_rewrite_rule not registering on Multisite
- Has anyone experience w/ WordPress (MultiSite) hidden users (possibly hacked)?
- Why wordpress multisite redirect to wp-signup if site exists?
- Is the W3 Total Cache plugin a good choice for WordPress MultiSite? [closed]
- How to combine multiple sites to WordPress MU
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- Installing multisite network admin on sub-domain
- Is it possible to import a wordpress backup from a single site in to a multi-site configuration?
- Multiple domains with different child themes on one installation?
- Staging setup for multisite installation
- multisite custom directory
- Changing wp-content to other name? Multisite set up
- Redirect users on logout
- You do not have permission to edit this user
- Multisite: I have a gap in my blogs. How to add the missing one?
- Rest API Multisite Site List?
- Create rewriterules for different domains in htaccess file with WP multisite
- Query users by capability – uninstall/deactivate callback
- Force Load https WordPress Plugins
- Cannot access my first sub-site in a multisite [closed]
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Auto creation of multisite blog on user registration
- Memory question on WordPress Multisite
- How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
- Aggregate multisite RSS and restrict certain content
- WordPress multisite on IIS – can’t open subpages
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- Issues with Multisite installation and 403 error for REST API request
- How to run react app and headless WordPress and React App on same server (managed by plesk)?
- Nginx Wildcard SSL with WordPress Multisite Subdomains
- Multisite – Parent site with Polylang with different domains for each language [closed]
- get_post_meta fails after switch_to_blog
- How to disable wordpress cron jobs for a subsite?
- Multisite – create plugin to hide deactivated sites from the sites overview
- WordPress MU: Cookie error when trying to login on network WP instance
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering
- different image for mobile template block theme
- MultiSite Setup
- Multisite: merging two subsites in the main site
- wp search-replace returns no output on Multisite installation