Novel polymer optical fibers with high mass-loading g-C3N4 embedded metamaterial porous structures achieve rapid micropollutant degradation in water.