Change link URL on a page

This was used on the PRG ( Green Crop Information (Dyson Farming)) website to alter links shown in an iFrame for content protection.

Remove Yoast from CPT

I found that I can use this for multiple post types as well. just pass an array as the second argument: