WordPress.org

Forums

[Plugin : Facebook] This is how to disable open graph meta tags (1 post)

  1. invader7
    Member
    Posted 11 months ago #

    Facebook plugin is very useful but i find very annoying the automatic open graph meta tags generate without the option to disable them !

    So after some time of searching i added these lines to my functions.php and "voilĂ " !!!

    function disable_fb_meta($meta_tags){
    
    	$meta_tags = '';
        return $meta_tags;
    }
    
    add_filter( 'fb_meta_tags', 'disable_fb_meta');

    https://wordpress.org/plugins/facebook/

Reply

You must log in to post.

About this Topic