This message was fired on two hooks.
add_action( 'admin_notices', 'site_admin_notice' );
add_action( 'network_admin_notices', 'site_admin_notice' );
Remove this and you remove the message, use remove_action
.
To remove this function use a function, like the follow example.
add_action( 'admin_menu','fb_hide_site_notice' );
function fb_hide_site_notice() {
remove_action( 'admin_notices', 'site_admin_notice' );
}
Now for the network ares:
add_action( 'network_admin_menu', 'fb_hide_network_notice' );
function fb_hide_network_notice() {
remove_action( 'network_admin_notices', 'site_admin_notice' );
}
Related Posts:
- Split a Multisite Into Single WordPress Websites
- How to delete post revisions?
- How to get blog name, when using WordPress Multisite
- Upload path/URL weirdness for the main blog of a multisite/network setup
- WP_Site_Query vs. WP_Network_Query in WordPress 4.6
- Multisite/network–automatic self-registration, blog setup
- COOKIE_DOMAIN setting confusion
- Restrict users on multisite WordPress install
- Possible to make custom role in multisite that can add sites?
- Which is the recommended method to transfer a wordpress site to wordpress Multisite?
- Hierarchical Page Listing of all Pages in a Multisite Network
- Asian language multisite IDN subdomain
- Using separate Apache log files for multisite
- Nginx rules for subdomain multisite install (Bedrock)
- when using add_user_to_blog getting error “Call to undefined function get_userdata”
- Restrict the user access in multi site for non-assigned blogs
- Changing Multisite URL after the subsite has been in use
- Can’t find “Add New” button for themes in a multisite
- Network setup tab is not shown under Tools
- Set multisite settings when new site created
- SQL to check how many sites a user is a member of
- Multi-site: Change the URL of main site to HTTPS
- How to show sites under “My Sites” Menu in admin panel wordpress multisite?
- What type of Google tracking should I use?
- Force Uploads Use Yearmonth to off (0) for all existing sites in Multisites
- How can I get multisite primary blog (url or path) for current user?
- convert from single site to multisite (network) with existing subdomains
- Replacing the default content created while the site creation
- Changing admin sub-domain in WordPress multisite
- Yoast Sitemap grouping external sitemaps [closed]
- Change Username?
- Multisite, can’t see sub blogs
- Google Docs Viewer have problem in MultiSite sub-blogs
- Update User Role Across Network when Main Site User is Updated
- Get the User ID Who Owns a Given Blog ID in Multisite
- upgrade from WPMU 2.9.2 to WP 3.2.1
- What does “Use BalanceTags” Do?
- Images don’t show up
- Redirect subdomain in Multisite installation?
- How to list WP multisite languages
- How can I automatically duplicate a site’s pages onto network site?
- Draft preview and customize permission problems on multisite main site
- Gravity Forms: gform_wrapper stays hidden even though JS-scripts load without errors
- Multisite User cannot access dashboard
- Will changing the folder name two directories above a fresh wordpress installation break the site?
- Multisite -> XMLRPC
- WordPress Multisite logout conflict
- Migrating static site to multisite with multiple domains and subdomains
- Share DB tables between two blogs on the same WP Multisite installation
- 404 redirecting to home [closed]
- Migrating Multisite with WP-Cli and/or Search-Replace-DB
- MULTISITE SUB-DOMAIN JUST SHOWS INDEX OF -> CGI-BIN INSTEAD OF SHOWING SITE
- How do I check if the user is a site owner in a network?
- Handling single.php in Multisite
- Multisite – Multiple logo?
- One Site as a part of Multisite to be hidden (Un-published) from Public?
- Multisite signup spam troubles
- get_user_meta() in multiste with respect to subdomain
- Different Domains in Multisite Setup
- How can I map the primary domain for subsite as subdirectory for another domain?
- Minimize Performance Issues of MultiSite Large Number of Tables Created
- Disable site visiting and user logins excepting for a specific user
- How to share User Database between Two Multisite Installations + More
- WordPress Importer Tries to save media files to wrong site folder
- How can I remove a site from a network?
- Using wp_insert_post with WP Network in a cron script
- featured image metabox MU
- Migrating Multisite setup to a different domain
- WordPress multisite second site admin resulting in too many redirects error
- Error while localizing communityEventsData in script-loader.php
- wp cli search and replace on –network Error reconnecting to the database
- WordPress Multisite – Domain Mapping
- Migrating a WP site with 2 WP installations
- Multisites can’t load .php files
- Multisite with different domain names
- How to add a new domain to an existing single site WordPress server?
- Unable to sign in to network after moveing address but able to login into child sites
- Multisite overide current blog on load of WordPress
- Single sign on to sub-sites in Multisite Network
- How to set upload path after renaming uploads folder in Multisite?
- How to change a logo on a wordpress site that is part of a 7 site multisite?
- Showing All Media from All Multisites
- Multi site sub sites redirect to root if www is NOT used in url
- Multi-site database upgrade claims success, but db_version not updated
- Admin dashboard does not show WordPress network sites
- WordPress Multisite FQDN Admin Access
- Multisite subdirectory root not accessible
- Should I use individual WordPress installs or WordPress-Mutisite install?
- How can I configure WP multisite to use /blog/ as part of the path structures?
- How to disable style filtering in post?
- How does adding custom meta to signup form work?
- Is it possible to create a login for restricted visibility?
- Create a Network of Different websites with wordpress
- WP Multisite: Do a function after blog is activated
- multi-language multi-site with REST API
- How to make Multisite global login that redirects to correct subsite after login
- Advice on WP site structure using multisite
- How to login Separately in each blog?
- Cookies in Multisite network where sites have their own domain name?
- Run WordPress multisite from secondary volume on AWS EC2