Support

Account

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.