Support » Plugin: OG - Better Share on Social Media » Disable all video metas

  • Resolved 55if0lyxmsca36ze83pm

    (@55if0lyxmsca36ze83pm)


    Hi Marcin,
    I really enjoy using your plugin, thank you.

    I have read the faq and the changelog but I can’t find an answer.

    How to completely disable processing videos?

    I would like to have all functions from the plugin, except anything related to videos. No video thumbnails, no youtube urls, etc.
    I saw “og_allow_to_use_youtube” and “check_add_video_thumbnails_by_post”, tried using them, no success.

    I also recommend you should have an faq entry for this.

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Thread Starter 55if0lyxmsca36ze83pm

    (@55if0lyxmsca36ze83pm)

    I’ve found a solution, but it was not working instantly because of transients.
    If anyone has the same need to exclude YT videos here is the filter I used:
    add_filter( 'og_allow_to_use_youtube', '__return_false' );

    Thank you

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.