Home › Forums › Bug Reports › acf/format_value doesn't work reliable › Reply To: acf/format_value doesn't work reliable
Going to be honest, I don’t know why this is not running, because you are using
add_filter('acf/format_value', 'e1_format_all', 10, 3);
which should be run on every field that is formatted.
The only reason that I know of for the filter not to be called is if you use
get_field('field_name', false, false)
the 3rd argument tells ACF not to format the value, and in this case no formatting filters are run.
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!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.