Replace Yoast og:image in single custom post type
This happens because add_action do not override previos actions, just “adds” to them. You will most likely need to search in the plugin’s code to find how it hooks its own og:image output. If it is not hardcoded but uses the same action, you will just need to call remove_action with the same parameters as … Read more