A phrase that has two meanings, especially where one is innocent and literal, the other risqué, bawdy, or ironic; an innuendo.
Synonym of inside joke (“a joke that is understood or meant to be understood only by certain people who are aware of the details”)