i use wp_set_object_terms for it s a custom posttype and custom tax, but it doesnt work. May be i cant call this function in the acf/save_post action ?
update_field( ‘field_56618811a093f’, 18, $postID ); = OK
$term_taxonomy_ids = wp_set_object_terms( $postID, 18, ‘my_taxonomy’); = doesnt work
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users