

// Override the functions and classes of parent theme here.
// // Allow AdForest custom meta fields to be updated via WordPress REST API
add_action('rest_api_init', 'allow_adforest_meta_in_rest_api');

function allow_adforest_meta_in_rest_api() {
    $custom_meta_keys = array(
        '_adforest_poster_name',
        '_adforest_poster_contact',
        '_adforest_ad_location',
        '_adforest_ad_type',
        '_adforest_tpl_field_ad_type',
        '_adforest_tpl_field_salary',
        '_adforest_tpl_field_experience',
        '_adforest_tpl_field_interview_last_date',
        '_adforest_ad_status_',
        '_adforest_is_feature',
        '_dont_share_post_google',
        'fsp_enable_auto_share',
        '_adforest_ad_yvideo',
        '_adforest_ad_bidding',
        '_adforest_ad_bidding_date',
        '_adforest_ad_condition',
        '_adforest_ad_warranty',
        '_adforest_ad_currency',
        '_adforest_ad_price_type',
        '_adforest_ad_price',
        '_sb_photo_arrangement_',
        '_adforest_ad_map_lat',
        '_adforest_ad_map_long',
        'rank_math_focus_keyword',
        'rank_math_description'
    );

    foreach ($custom_meta_keys as $meta_key) {
        register_meta('post', $meta_key, array(
            'object_subtype' => 'ad_post', // Your custom post type
            'type'           => 'string',
            'single'         => true,
            'show_in_rest'   => true, // THIS IS THE MAGIC LINE!
        ));
    }
}<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//blogspud.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://blogspud.com/post-sitemap.xml</loc>
		<lastmod>2026-01-06T21:57:00+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://blogspud.com/page-sitemap.xml</loc>
		<lastmod>2026-03-02T06:15:02+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://blogspud.com/_sb_country-sitemap.xml</loc>
		<lastmod>2025-10-21T06:46:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://blogspud.com/ad_post-sitemap1.xml</loc>
		<lastmod>2026-04-03T01:21:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://blogspud.com/ad_post-sitemap2.xml</loc>
		<lastmod>2026-04-03T00:36:07+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://blogspud.com/ad_post-sitemap3.xml</loc>
		<lastmod>2026-04-02T18:17:36+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://blogspud.com/product-sitemap.xml</loc>
		<lastmod>2025-11-26T05:44:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://blogspud.com/category-sitemap.xml</loc>
		<lastmod>2026-01-02T22:29:46+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->