I would like to reopen this issue, since this is still a problem.
Issue: Using the field type
Post object in ACF Pro while the plugin WPML Multilingual CMS is active, does not find any post. Filtering doesn’t seem to help in any way.
I know “…I don’t think this will change in near future…”, but it has been a year and I think many people struggle with this issue. So I hope we can reopen this issue.
The problem still has something to do with
suppress_filter I think. While the element
suppress_filter => false and the plugin WPML is active, the function
_acf_get_field_by_key() does not return any data (posts, pages, cpt’s, …). If I remove the element
suppress_filter in the function
_acf_get_field_by_key(), I get the opposite language post.
I hope you guys can find a solution. Of course I’ll look for it myself and keep you guys updated.
ACF Pro 5.2.9
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!