Home › Forums › General Issues › Difference between prepare_field and load_field › Reply To: Difference between prepare_field and load_field
I just stumbled upon this 2 years old question searching for something else but for whom it may concern there are couple of things that can be immediately identified as weird:
1. These 2 lines will never get executed because they are after the return
call:
wp_reset_query();
restore_current_blog();
2. The name of the function in the add_filter
call is staffMemberProfilesQuery
while the name of the function defined at the beginning of the code block is MemberProfilesQuery
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.