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
- Multisite on Windows with wildcard subdomains
- multisite 404 error for subdirectory
- How to hide or remove unwanted widgets on Multisite installation?
- How to use alias domain for multisite installation?
- Multisite htaccess on localhost with WP as an SVN external?
- WordPress Multisite with multiple domains using Nginx
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- Redirect to a Plugin Settings Page After Multisite Site Creation?
- WordPress Multisite – Multiple subfolders for blogs
- Uploading/Deploying a Multi Site Install
- How does wordpress multisite manage subdomains?
- Is it possible to fix/repair all Index, Primary Key, Unique (and all other) structure of a WordPress MS Database
- Trying to migrate a WordPress Multisite with Domain Mapping
- Manipulate list of themes in wp-admin
- How to update_site_option for specific site within network?
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- How to run nested xargs commands?
- How to add edit users capability to a custom role?
- Wordrpess Subdomains (Multi-Site) without Wildcard
- Subfolder Multisite : optional www subdomain
- Efficiently manage a huge number of blogs given server-side restrictions
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Icon font not working on subdomains of multisite
- Getting this code to work in Multisite
- Search post in all blogs in WPMU?
- Multi-site: removing /blog from posts
- Migrating Multisite – Database error, missing wp_blogs table
- Sitewide category terms
- What is the function to get options of the parent site of a multisite network?
- Issue with htaccess redirection in WP Multisite
- Multisite – sort merged get_posts() queries
- WordPress MultiSite login to the respective site
- How to detect the context of homepage for a wordpress mu sub-blog
- WordPress MU Domain Mapping Just Redirects to Main Site
- Multisite: cloning, but also updating too
- Using the standard WordPress “New User” interface on a multisite
- Add multisite switch button. Click to switch to other page in same admin area
- WooCommerce Multisite — importing products IN subsites FROM main site
- Efficient way to handle translations with Multisite WordPress installation
- 301’s not working with multisite
- InfiiniteWP and WP Networks (multisite)
- Why doesn’t wpmu_new_user work from a plugin when it does from theme?
- MU/Subdomains + Domain Mapping + SSL?
- How to exclude specified from all list of Multisite
- Create WordPress Multisite Instance Programmatically
- WordPress Multisite Network to replace 3 seperate WordPress installations
- WordPress MultiSite Won’t Work on Google AppEngine
- What’s the best way to get posts from one multisite blog into another?
- Publish all network posts to the primary site
- query multisite blog for post by tag
- WordPress Multisite on multiple sub-domains
- How to migrate post media from stand-alone to multisite build
- All Multisites are working as one site
- How to add WordPress site to multisite network when both are addon domains
- Get posts by user role in a Multisite
- WPLANG option not available in localhost
- How can I make my existing VIP theme to multisite
- how to make a cronjob run, when user needs to be logged in
- All Subsites of a WordPress Multisite install 302 redirects to the main site
- How to find the site ID on a single site and then add new post with “`multipart/form-data” enctype?
- Apply Lazy loading/Infinite scroll on array data
- WordPress Domain Mapping shows new domain in place but takes me to the sub domain
- Problem in viewing recent posts from network site to main site
- Send data using GET method not work correctly
- How to create Network of websites with separate database in WordPress
- WordPress multidomains and subfolders
- WordPress shows death white screen on multisite
- External rewrite rules missing in htaccess – Multisite
- Redirect to Multisite site 2 if site 1 has a setting