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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.