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
- How can I get all capabilities for a particular user?
- How to use WordPress Multisite With Different Domain Names?
- How To Add Custom Form Fields To The User Profile Page?
- How do I create a custom role capability?
- Where are available Roles Defined in the wp_ database?
- restore_current_blog() vs switch_to_blog()
- Can i merge 2 new WP_Query($variable) ‘s?
- How to disable a network enabled plugin for just one site?
- How to reliably flush rewrite rules on multisite?
- Site Redirecting to wp-signup.php
- Moving a WP Multisite to a subdirectory
- Cookies in multisite where network sites have their own domain name
- Convert a Multisite WordPress install into a Single site
- WordPress MultiSite Active Directory integration and site privacy
- WordPress Job Interview Preparation
- How to add Custom Blog Options to new blog setup form?
- How can I trust switch_to_blog()?
- Remove the blog slug from WordPress Multisite root node
- Why are my roles not visible in a Multi-site/Network?
- Site admin in a network install can’t edit users?
- How to use same email for multiple users
- How to run an activation function when plugin is network activated on multisite?
- Specific upload folder for PDFs in custom Post type in WP multisite
- What is the correct way to map multiple domains in a WordPress 4.1 multisite install?
- Where can I find documentation on what characters are allowed in user names and why?
- How to migrate subsite from dev multisite to production multisite
- How can I un-reserve a pending username registration?
- How do I remove/delete an old super admin user?
- DB connection error after copying a WordPress Multisite instance to a second location
- Redirect Main Site to Subsite in Multisite WordPress
- Is there a is_user_logged_in() for multisite?
- Switching MultiSite installation from HTTP to HTTPS
- Allow user to select a theme to install when they signup
- Setting up a wordpress network with third level domains
- Get upload URL by blog ID in multisite
- What’s the difference between get_site_option and get_blog_option?
- Need help sorting “My Sites” Alphabetically
- How to delete post revisions?
- Create mobile site with same content just different theme
- Add additional Network constants to wp-config.php dynamically
- Multisite stuck at 1MB for max file size
- How to get blog name, when using WordPress Multisite
- What are options are there to implement a multi language site
- Switching primary site in WordPress Multisite
- Multisite Network Port Num Issues?
- Convert existing site to network
- Where is the robots.txt stored for a WordPress Multisite install?
- Settings API in Multisite – Missing update message
- Add WordPress MU Network Admin via Database
- How to get current site id? (WPMU)
- Multisite on Windows with wildcard subdomains
- Why is WordPress Multisite redirecting to wp-signup.php and how to fix it?
- Which asset URLs are acceptable in a “vanilla” MU install?
- $wpdb->base_prefix not get parent site prefix in multisite
- How to tell which database tables belongs to which multisite site
- what are pmxi tables? [closed]
- Using wp_insert_post() with Networking enabled
- Are nested subdomains possible with a subdomain multisite?
- Sharing Dynamic Sidebars across Multisite Blogs
- I want to develop locally with Multisite, then migrate each site to separate remote WP installs
- Password Reset for Users on a Multisite Subsite
- Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
- Can a multisite’s blogs be accessible from two different sub-domains?
- Querying posts from multiple sites in a network?
- Plugin for editing options on multisite?
- What do I need to do to convert my MultiSite from HTTP to HTTPS?
- is_front_page() malfunction?
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me