This song was co-written by and produced by Max Martin, who was behind the artist's prior hits "Who Knew
" and "U And Ur Hand
Pink told the story of this song: "'So What' was a joke. I heard this beat from Max Martin. It's such a fun beat, so fun. And I was actually kidding when I said, 'I guess I just lost my husband, I don't know where he went.' Ha ha, that's really funny. Let's keep it and it just kind of went from there. And it just got more and more wrong. The more lines we wrote, the wronger it was. And we kept it because I don't really care. I don't think about the consequences when I write songs and now I am regretting every second of it. No, I'm not."