Alter one’s attitude or opinion. Typically refers to someone changing their stance due to money or some other self-beneficial factor.
“He didn’t pay attention to the new girl, but now that he discovered her father is rich, he’s whistling a different tune.”