Home › Forums › General Issues › differentiate between post types on acf/pre_save_post › Reply To: differentiate between post types on acf/pre_save_post
Hi Elliot,
This is weird. If I set the 'html_after_fields' => '<input type="hidden" name="post_type" value="products">
then it does not invoke the filter acf/pre_save_post
. When it is set to empty, it calls the filter properly. Do you have any insights?
Thanks.
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.