PMO synthesized and functionalized by p-phenylenediamine as new nanofiller in PES-nanofiltration membrane matrix for efficient treatment of organic dye, heavy metal, and salts from wastewater.