New answers tagged oembed
The accepted answer didn't work in my case. URLs were still being converted to embeds in the post editor. By looking at the source of wp-includes/class-wp-embed.php where this stuff is handled, I found that there are some other things at play here: // Hack to get the [embed] shortcode to run before wpautop() add_filter( 'the_content', array( $this, ...
Top 50 recent answers are included