What plant is this

What is the plant that I have attached? When I purchased it (yard sale) I was told it was a Hydrangea. I have had it in different areas of my yard with varying degrees of sunlight. I’ve trimmed in the…