Created
September 16, 2020 16:30
-
-
Save constantin-b/a1f6d6a25f13efb41b8bd2f126d1c83c to your computer and use it in GitHub Desktop.
Vimeotheque 2.0 filter to prevent automatic embeds in post content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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