src/Post.php
public function set_terms( $terms = array(), $taxonomy = '', $append = false ) {
		return \wp_set_post_terms( $this->id(), $terms, $taxonomy, $append );
	}
public function set_terms( $terms = array(), $taxonomy = '', $append = false ) {
		return \wp_set_post_terms( $this->id(), $terms, $taxonomy, $append );
	}
public function set_terms ( $ terms = array ( ) , $ taxonomy = '' , $ append = false ) { return \ wp_set_post_terms ( $ this -> id ( ) , $ terms , $ taxonomy , $ append ) ; }
Sets Given Terms With Tax To The Current Post.

@param array  $terms
@param string $taxonomy
@param bool   $append

@return array|false|\WP_Error
Sets Given Terms With Tax To The Current Post .