Home › Forums › Bug Reports › wpml.php's acf/settings/load_json filter not being executed › Reply To: wpml.php's acf/settings/load_json filter not being executed
Thanks for the bug report.
I believe this issue is caused by the load order of files.
Can you please edit the acf.php file and on line 229, move the code block:
// include wpml support
if( defined('ICL_SITEPRESS_VERSION') ) {
acf_include('core/wpml.php');
}
above the line 224
// local fields
do_action('acf/include_fields', $major);
Does this fix the issue?
Thanks
E
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.