Especially, the "what's-her-name" part.
Much used if someone doesn't know the name of the person being talked about.
"I met what's-her-name yesterday".
Usually being used if the person listening also knows the person.
In general that term is used in place of the actual name when the speaker doesn't know the name. Note that it's pretty flippant in tone; if you don't want that tone you would just say "her."
In that context specifically it's being used as a joke, because of the twist of making someone feel special when they can't even remember her name.