Support

Account

Home Forums General Issues Update fields in custom taxonomy when i click save

Helping

Update fields in custom taxonomy when i click save

  • I have made a function that runs before i save a custom post type. This function i want to make some calculations inside and update the fields on the custom taxonomy that belongs. Is there a way to do so?

  • Us an acf/save_post filter with a priority > 10 so that it runs after ACF saves the post.

    In this filter you can get all of the ACF values for the post and you can get all of the post information and do whatever you want to do. For example getting the post terms and updating values on those terms.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.