The problem is probably just that your code runs before broken links checker adds the meta box. Try changing the action line to this:
if(is_admin()){
add_action('wp_dashboard_setup', 'remove_dashboard_widgets', 1000 );
}
EDIT
To be a little more clear, the particular issue here is that the add_action()
function is running super early compared to Broken Link Checker’s add_action function. The two ways to fix that issue are to either run your code later (hooking your plugin’s main functionality onto init and throwing your actions and filters into that init function), or increasing the precedence of your action (what I suggested above).
Related Posts:
- How to hide or remove unwanted widgets on Multisite installation?
- Create mobile site with same content just different theme
- Sharing Dynamic Sidebars across Multisite Blogs
- How can I diagnose a slow WordPress admin?
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- WP-Admin not working properly at WordPress multisite with subdirectories
- How to Remove All Widgets from Dashboard?
- Security in WordPress plugin development
- Hide a theme on list of themes in wp-admin without editing core files
- Difference Between Admin and Super Admin in Database
- Force Network Admin Dashboard to 1 column on wordpress multisite
- wp-admin slow in multisite
- Don’t allow access to wp-admin but allow admin-ajax requests to be fulfilled on frontend?
- Timeout While Upgrading Network in Multi-site
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- Multisite wp-admin redirect loop
- WordPress network (multisite) /wp-admin/ redirect loop (ERR_TOO_MANY_REDIRECTS)
- How to automatically register widgets on new blog?
- Copy posts from one blog to another in multisite environment
- My subsites accidentally went from one multisite network to another. How do I change it back?
- Multisite sub-site dashboard redirects to /wp-admin/
- WordPress Multisite Layered Admins
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- Redirect loop (only for multisite network admin)
- Manipulate list of themes in wp-admin
- How To Remove Dashboard Menu Items for Multisite Users?
- Creating a Post form outside of the Admin
- Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7
- How to set Active plugins as the default screen?
- Why can’t I delete original user in multisite? Options for manual removal
- Multisite network admin – URL / redirect error
- Cookie nonce is invalid – Multisite
- Trouble with switch_to_blog()
- WordPress mutisite migration
- Why does the My Site dropdown show only a single domain?
- wp_redirect not working on admin menu page
- Super admin access to a forgotten WP instance?
- Cannot access WordPress Multisite Main Dashboard
- Multsite redirecting to the main site
- Iframe being removed only for some users when publishing a page
- Dashboard Widgets – Add Admin Page With Same Functionality
- WP Multisite with Domain Mapping : Preventing User Access to Dashboard
- Possible to enqueue scripts and CSS to Multisite Network dashboard?
- WordPress Multisite dashboards redirect to homepage
- Multisite gives Error if i want to enter Dashboard or Site
- 2 website 1 database… Local to online
- Assign default widgets to all sites in a multisite network
- Moving wp-admin folder to a different host in a multisite environment
- Grabbing how Many Posts by Month for a Dashboard Widget
- Site’s admin created with wpmu_create_blog accessible only on 2nd attempt
- Making a Multisite Dashboard Widget
- Where are the files that control the multisite user dashboard?
- Is There A Plugin to Create WP Multisite Installs programatically
- Can’t log in to wp-admin after setting up Multisite
- Infamous admin login redirect
- How to automate setup of theme, pages, widgets, etc for a new site in multi-site?
- Is there something I need to know in order to use WordPress on foreign (Swedish) TLDs?
- “My Sites” incorrectly showing all network sites for all logged in users
- WordPress multisite second site admin resulting in too many redirects error
- URLs for (MultiSite) link images are always relative
- Multisite wp-admin redirecting to main wp-admin using NGINX
- Is it better to embed widgets on posts or pages?
- Multisite Dashboard not working
- WordPress Multisite: Login to all subsites at once
- How to Add Super Admin for WordPress multi-site
- network admin pages not linked to correctly
- Multisite – cannot remove specific sub-menu its parent menu. All sub-menus disappear
- How to have same admin login for more than one site?
- WP Admin Panel for Multi-site install not loading JavaScript for one Subdomain
- Backend freezing on certain pages of a subsite
- Multilingual multisite > customisable footer across different sites with widgets?
- Admin user getting redirected to /wp-admin/user
- WPMU widget use sitewide
- Pages redirect me to the homepage
- Some widgets on Multisite not showing up in template for particular theme
- Unable to login to admin dashboard after setting up multisite
- Many big issues in the website, WP_Debug not showing
- What could be changing my WP password and blocking plugins from installing?
- changing wp-admin/widgets.php
- Create multiple subdomains for multi-site from a database
- using 1 form shortcode (si or cf7) for all multisite sites [closed]
- How to manage multiple domain with different languages on each domain with single wordpress installation?
- Is there any fundamental difference in developing a wordpress multi-network site?
- Recover from failed multisite conversion
- Why can’t I login to my “network sites”?
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- How can i define the order of blogs in a multisite network manually (like pages)?
- new multisite, old db
- Create a page for a theme only
- Multisite – One Site with multiple URLs
- Activation Account Email
- Multisite htaccess file causing segfault (Segmentation fault 11)
- Images uploaded after adding multisite do not get loaded in any domain of the multisite network
- Set a dashboard widget to the top?
- Migrating from domain mapping plugin to native domain mapping
- Define default settings for new sites on multisite network with mu-plugin
- Multisite + wp_mail – Route Via Site Conditionally
- MU domain mapping without using a plugin
- WordPress Multisite restict user access
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering