wp_insert_termto add a custom taxonomy like this:
wp_insert_term( $_POST['city'], // the term 'property-city', // the taxonomy array( 'description'=> $_POST['city'], 'slug' => $_POST['city'] ) );
It does the job, but it doesn't link this term to a certain post ID. Thus, my questions are: what does wp_insert_term do specifically? Does it just insert the term? If so, how can I link this term to a specific post ID?