Home › Forums › Backend Issues (wp-admin) › Are "Message" fields filterable? › Reply To: Are "Message" fields filterable?
I haven’t personally tried filtering a message field, however your syntax looks slightly incorrect.
See this page: https://www.advancedcustomfields.com/resources/acf-load_value/
Specifically:
// acf/load_value/name={$field_name} - filter for a specific value load based on it's field name
add_filter('acf/load_value/name=my_select', 'my_acf_load_value', 10, 3);
// acf/load_value/key={$field_key} - filter for a specific field based on it's name
add_filter('acf/load_value/key=field_508a263b40457', 'my_acf_load_value', 10, 3);
You have name
in your code where you are passing a field key.
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.