Support

Account

Home Forums General Issues Update post category description by saving content in ACF field Reply To: Update post category description by saving content in ACF field

  • I was trying to show you where you’re going wrong.

    You have the wrong arguments in your function…

    You have listed

    
    function acf_save_description($term_id, $taxonomy, $args)
    

    and it should be

    
    function acf_save_description($value, $post_id, $field)
    

    You are using get_queried_object() and this may not work in an acf/update_value hook.

    I was trying to show you how to get the term ID that is being updated by using the $post_id value that ACF is passing to your filter.