/**
 * REMOVE THIRD-PARTY PLUGIN HEADERS, FOOTERS, NOTICES, AND EXTERNAL LINKS IN THE WP ADMIN BACKEND
 */
function webpiler_clean_admin_dashboard_system() {
    if (!is_admin()) return; // Run exclusively within the WordPress admin backend environment

    // 1. Unhook all standard, global, and network administrative notification blocks
    remove_all_actions('admin_notices');
    remove_all_actions('all_admin_notices');
    remove_all_actions('user_admin_notices');
    remove_all_actions('network_admin_notices');

    // 2. Suppress layout components via targeted, global styling injections
    echo '<style type="text/css">
        /* Hide default and third-party plugin alerts, nag messages, and setup reminders */
        .notice, .error, .updated, .update-nag, .e-notice, [class*="-notice"], .wp-core-ui .notice { 
            display: none !important; 
        }
        
        /* Remove third-party header bars, promo boxes, banner fields, and upgrade-to-pro badges */
        div[class*="promo"], div[id*="promo"], div[class*="banner"], div[id*="banner"],
        .go-pro, .upgrade-pro, .premium-nag, .plugin-banner, #wp-admin-bar-updates {
            display: none !important;
            height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Hide the core WordPress administrative footer and plugin attribution metrics text */
        #wpfooter, #footer-thankyou, #footer-upgrade, .developer-credits {
            display: none !important;
        }
    </style>';

    // 3. Inject script to disable external redirects and developer promotional links
    echo '<script type="text/javascript">
        document.addEventListener("DOMContentLoaded", function() {
            // Find all anchor links printed within structural admin components
            var adminLinks = document.querySelectorAll("#wpbody-content a, .notice a");
            adminLinks.forEach(function(link) {
                var href = link.getAttribute("href");
                if (href) {
                    // Check if the link target directs away from your immediate server application paths
                    var isExternal = href.startsWith("http") && !href.includes(window.location.hostname);
                    var isPluginPromo = href.includes("utm_source") || href.includes("upgrade") || href.includes("plugin");
                    
                    if (isExternal || isPluginPromo) {
                        // Completely freeze cross-navigation click operations
                        link.addEventListener("click", function(e) {
                            e.preventDefault();
                            return false;
                        });
                        link.style.pointerEvents = "none";
                        link.style.cursor = "default";
                        link.style.opacity = "0.7";
                    }
                }
            });
        });
    </script>';
}
// Hook tightly into the active backend header rendering loop at maximum execution priority
add_action('admin_head', 'webpiler_clean_admin_dashboard_system', 9999);
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://study.australstudy.com.au/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://study.australstudy.com.au/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://study.australstudy.com.au/wp-sitemap-posts-vocab_word-1.xml</loc></sitemap><sitemap><loc>https://study.australstudy.com.au/wp-sitemap-taxonomies-assigned_student-1.xml</loc></sitemap><sitemap><loc>https://study.australstudy.com.au/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
