I'm using some WMS service layers in ArcGIS Pro version 2.5.1. I can turn off the WMS layers in the table of contents and the legend, and they appear to be correctly removed from the legend in the layout. However, when I export my map to a PDF the WMS service layers appear in the legend.
Is there a workaround for this, other than converting the legend to graphics?