Home › Forums › Front-end Issues › Display ACF fields that are modified by filters › Reply To: Display ACF fields that are modified by filters
The value in your code is set here $value = $page->post_name;
so this is dependent on what WP is returning as thepost_name. Try $value = strtolower($page->post_name);
I have no idea why it’s returning a capitalized value unless that what’s in the DB.
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.