protected function _deleteObject( $term_id ) {
		$term = get_term_by( 'id', $term_id, $this->_taxonomy );
		if ( ! $term || is_wp_error( $term ) ) {
			return false;
		}

		$deleted = wp_delete_term( $term_id, $this->_taxonomy );
		if ( $deleted && ! is_wp_error( $deleted ) ) {
			$this->_debug( 'Deleted term with ID: ' . $term_id );
			return true;
		} elseif ( is_wp_error( $deleted ) ) {
			$this->_debug(
				'Removal failed for term %d with message [%s] %s',
				$term_id,
				$deleted->get_error_code(),
				$deleted->get_error_message()
			);
		} else {
			$this->_debug( 'Term removal failed for ID: ' . $term_id );
		}

		return false;
	}
protected function _deleteObject( $term_id ) {
		$term = get_term_by( 'id', $term_id, $this->_taxonomy );
		if ( ! $term || is_wp_error( $term ) ) {
			return false;
		}

		$deleted = wp_delete_term( $term_id, $this->_taxonomy );
		if ( $deleted && ! is_wp_error( $deleted ) ) {
			$this->_debug( 'Deleted term with ID: ' . $term_id );
			return true;
		} elseif ( is_wp_error( $deleted ) ) {
			$this->_debug(
				'Removal failed for term %d with message [%s] %s',
				$term_id,
				$deleted->get_error_code(),
				$deleted->get_error_message()
			);
		} else {
			$this->_debug( 'Term removal failed for ID: ' . $term_id );
		}

		return false;
	}
protected function _deleteObject ( $ term_id ) { $ term = get_term_by ( 'id' , $ term_id , $ this -> _taxonomy ) ; if ( ! $ term || is_wp_error ( $ term ) ) { return false ; } $ deleted = wp_delete_term ( $ term_id , $ this -> _taxonomy ) ; if ( $ deleted && ! is_wp_error ( $ deleted ) ) { $ this -> _debug ( 'Deleted term with ID: ' . $ term_id ) ; return true ; } elseif ( is_wp_error ( $ deleted ) ) { $ this -> _debug ( 'Removal failed for term %d with message [%s] %s' , $ term_id , $ deleted -> get_error_code ( ) , $ deleted -> get_error_message ( ) ) ; } else { $ this -> _debug ( 'Term removal failed for ID: ' . $ term_id ) ; } return false ; }
Deletes previously generated term.

@since 1.0.0

@access protected
@param int $term_id The term id to delete.
@return boolean TRUE on success, otherwise FALSE.
Deletes previously generated term .