Catalysis of the transfer of prostaglandins from one side of the membrane to the other. A prostaglandin is any of a group of biologically active metabolites which contain a cyclopentane ring due to the formation of a bond between two carbons of a fatty acid. They have a wide range of biological activities. (Gene Ontology, GO_0015132)