Skip to content

Instantly share code, notes, and snippets.

@constantin-b
Created September 16, 2020 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save constantin-b/a1f6d6a25f13efb41b8bd2f126d1c83c to your computer and use it in GitHub Desktop.
Save constantin-b/a1f6d6a25f13efb41b8bd2f126d1c83c to your computer and use it in GitHub Desktop.
Vimeotheque 2.0 filter to prevent automatic embeds in post content
// Deprecated filter in Vimeotheque PRO 2.0
//add_filter( 'cvm_automatic_video_embed', '__return_false' );
// Vimeotheque 2.0 new filter
add_filter( 'vimeotheque\post_content_embed', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment