Support

Account

Home Forums ACF PRO switch_to_blog() breaks get_field(), the_field(), get_post_meta() etc. Reply To: switch_to_blog() breaks get_field(), the_field(), get_post_meta() etc.

  • Dear John,

    thank you very much for the fast and helpful answer. You’re right, the post ID’s were the same and somehow the cache was the root of the issue. I was now able to fix it by using wp_cache_delete($post_id, 'post_meta');.

    Cheers and best regards,

    Philipp