Support » Plugin: Facebook » Disabling the open graph tags from this plugin
4 years, 2 months ago
How to remove/disable the Open Graph Tags from this plugin.
As i am already using the OG tags generated by Yoast SEO plugin, OG tags are appearing twice on my website
Facebook lint is giving error for the same: More Than One OG URL Specified
As of now i commented following line in facebook/facebook.php
add_action( ‘wp_head’, array( ‘Facebook_Open_Graph_Protocol’, ‘add_og_protocol’ ) );
You can empty the fb_meta_tags filter. Attach to the filter and return an empty array.
4 years, 1 month ago
Can you please provide the code, so that i can put it in functions.php and i dont have to worry about Facebook plugin updates anymore