Golgi-localized palmitoyltransferase that catalyzes the addition of palmitate onto various protein substrates and therefore functions in several unrelated biological processes (PubMed:22031296, PubMed:27380321, PubMed:28196865). Has no stringent fatty acid selectivity and in addition to palmitate can also transfer onto target proteins myristate from tetradecanoyl-CoA and stearate from octadecanoyl-CoA (By similarity). Palmitoylates sex steroid hormone receptors, including ESR1, PGR and AR, thereby regulating their targeting to the plasma membrane and their function in rapid intracellular signaling upon binding of sex hormones (PubMed:22031296). Palmitoylates GNAQ, a heterotrimeric G protein, regulating its dynamic localization at the plasma membrane and is thereby involved in GNAQ- dependent G protein-coupled receptor signaling pathways (PubMed:19001095). Also functions in ligand-induced cell death by regulating the FAS signaling pathway through the palmitoylation and stabilization of the receptor at the plasma membrane (PubMed:25301068). In epithelial cells, palmitoylates SCRIB and regulates its localization to the plasma membrane, regulating indirectly cell polarity and differentiation (PubMed:27380321). Also palmitoylates JAM3 and promotes its expression at tight junctions and regulates its function in cell migration (PubMed:28196865). Palmitoylates the glucose transporter GLUT4/SLC2A4 and controls the insulin-dependent translocation of GLUT4 to the plasma membrane (By similarity). In brain, could also palmitoylate SNAP25 and DLG4/PSD95 (By similarity). Could also palmitoylate DNAJC5 and regulate its localization to the Golgi membrane (By similarity). Could also palmitoylate NCDN (By similarity). May play a role in follicle stimulation hormone (FSH) activation of testicular Sertoli cells (By similarity). Activates pyroptosis by catalyzing palmitoylation of gasdermin-D (GSDMD) (By similarity). {ECO:0000250|UniProtKB:Q91WU6, ECO:0000250|UniProtKB:Q923G5, ECO:0000269|PubMed:19001095, ECO:0000269|PubMed:22031296, ECO:0000269|PubMed:25301068, ECO:0000269|PubMed:27380321, ECO:0000269|PubMed:28196865}. This is the function of Ensembl gene identifier ENSG00000153786 (ZDHHC7, zDHHC palmitoyltransferase 7).