function deleteTags( $blog_id, $tag_group ) {

		/** @var $wpdb \wpdb */
		global $wpdb;

		$result = $wpdb->delete(
			$this->dbLinkTable, [
				'users_id' => $this->userId,
				'blogs_id' => $blog_id,
				'tags_group' => $tag_group,
			], [ '%d', '%d', '%d' ]
		);

		// TODO:
		// Optimize the links table: $wpdb->query( "OPTIMIZE TABLE {$this->dbLinkTable} " );

		return $result;

	}
function deleteTags( $blog_id, $tag_group ) {

		/** @var $wpdb \wpdb */
		global $wpdb;

		$result = $wpdb->delete(
			$this->dbLinkTable, [
				'users_id' => $this->userId,
				'blogs_id' => $blog_id,
				'tags_group' => $tag_group,
			], [ '%d', '%d', '%d' ]
		);

		// TODO:
		// Optimize the links table: $wpdb->query( "OPTIMIZE TABLE {$this->dbLinkTable} " );

		return $result;

	}
function deleteTags ( $ blog_id , $ tag_group ) { /** @var $wpdb \wpdb */ global $ wpdb ; $ result = $ wpdb -> delete ( $ this -> dbLinkTable , [ 'users_id' => $ this -> userId , 'blogs_id' => $ blog_id , 'tags_group' => $ tag_group , ] , [ '%d' , '%d' , '%d' ] ) ; // TODO: // Optimize the links table: $wpdb->query( "OPTIMIZE TABLE {$this->dbLinkTable} " ); return $ result ; }
Delete all tags from a user catalog

Note: Doesn't actually delete a tag, just removes the association in dbLinkTable

@param $blog_id
@param $tag_group

@return int|false
Delete all tags from a user catalog