Home › Forums › ACF PRO › ACF & WPML: Access options page in specific language › Reply To: ACF & WPML: Access options page in specific language
Hi @philex
ACF uses the setting ‘current_language’ to modify the $post_id
, not the ‘default_language’.
I believe it would be possible to simply use this code instead of the filter:
$message = get_field('email_text', 'options_de');
You can check your wp_options table to double check what the language code is used in the option_name.
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.