$current_domain = $_SERVER['HTTP_HOST']; $current_user = wp_get_current_user(); if(!in_array("administrator", $current_user->roles)) echo ""; https://hmayh.org.sa/wp-sitemap-posts-post-1.xmlhttps://hmayh.org.sa/wp-sitemap-posts-page-1.xmlhttps://hmayh.org.sa/wp-sitemap-posts-services-1.xmlhttps://hmayh.org.sa/wp-sitemap-taxonomies-category-1.xmlhttps://hmayh.org.sa/wp-sitemap-taxonomies-services_cats-1.xmlhttps://hmayh.org.sa/wp-sitemap-users-1.xml