Home › Forums › Feature Requests › Default value for the taxonomy field type › Reply To: Default value for the taxonomy field type
Thanks, I read through the docu on that filter.
I also tried using acf/prepare_field
. I’m not sure any of these filters is getting fired, though. I have added error_log( print_r ( $field, true ));
into the filter just to check that variable and nothing is appearing in the debug log.
With the acf/load_value
filter I tried using various priorities, and also eliminated the post_status check ( so any false value would trigger the default ) but still nothing’s doing.
What’s the last parameter on the filter, ‘3’?
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.