Home › Forums › ACF PRO › Advanced Custom Fields language locale location rule? › Reply To: Advanced Custom Fields language locale location rule?
I can’t really test this because I’m not using the language plugin anywhere but I might be able to help you figure something out.
What does it not do? What is working?
One of you’re problems may be the print and var dump lines. The rule match happens in a AJAX call and that could be causing the AJAX request to fail. The best way to get information on what’s happening during an AJAX request is to turn on error reporting and logging in WP and then use the PHP function
error_log() to write stuff to the error log, then look at the error log to see what the output is.
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.