Derived from the abbreviation for "Parental Guidance", PG is used for describing something rude or potentially offensive for which the conversation participants may require adult supervision.
The need to employ a self imposed censorship on utilizing expletives when having a conversation with a friend in the presence of adults and/or uptight people.