Of a statement, action, etc.: not appropriate for the present company. Of a look, etc.: intended as a warning about the need for discretion.
1950s; earliest use found in Nancy Freeman-Mitford (1904–1973), novelist and biographer. Apparently short for pas devant les enfants (although this is first attested later).