
// Restrict admin menu for Account Managers
add_action('admin_menu', function() {
    $current_user = wp_get_current_user();
    if ($current_user->user_email !== 'seo@arraydigital.com') return;
    global $menu;
    $allowed = ['index.php', 'upload.php', 'edit.php', 'edit.php?post_type=page', 'gf_edit_forms'];
    foreach ($menu as $key => $item) {
        if (!in_array($item[2], $allowed)) remove_menu_page($item[2]);
    }
}, 999);
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//harrisaltman.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://harrisaltman.com/post-sitemap.xml</loc>
		<lastmod>2024-09-13T13:02:37+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://harrisaltman.com/page-sitemap.xml</loc>
		<lastmod>2025-02-25T17:28:35+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://harrisaltman.com/category-sitemap.xml</loc>
		<lastmod>2024-09-13T13:02:37+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://harrisaltman.com/author-sitemap.xml</loc>
		<lastmod>2024-12-12T03:33:52+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->