Home › Forums › Bug Reports › get_field does not return values,in WPMU with 'switch_to_blog' › Reply To: get_field does not return values,in WPMU with 'switch_to_blog'
Hi Jonathan.
I was able to determine the conditions under which this phenomenon occurs.
When I get the value of a custom field of Site2 that are not defined in Site1,
I text field can be acquired. However repeater field could not be obtained.
In my environment, I just added the definition of the same custom field and Site2 to Site1, were able to correctly get the value of the repeater field.
I definition of custom fields, was read by the plug-in model.
However, it was subjected to the same test in the other WP environment, even if there is no definition of the custom field in Site1, were able to correctly get the value of the repeater field.
I do not know of two environment differences.
Do you have something you the idea?
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.