Home › Forums › Bug Reports › Fields on acf/pre_submit_form does not receive format_values treatment › Reply To: Fields on acf/pre_submit_form does not receive format_values treatment
this, as far as I am aware, switches the ACF cache acf_switch_stores()
and has nothing to do with what field groups are loaded.
ACF loads the field groups for the current blog on init. ACF would need to load the field groups from the other blog when switch_to_blog
is called. Doing this cold have unintended side effects unless ACF also deleted all field groups and then loaded all field groups on every site switch, basically it would need to re-initialize each time.
I have done this in the past working with multi site. The only solution was to have the field groups used by multiple sites created for every site that will use those field groups so that they are defined when a site tries to get a field from another site.
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.