Disable Embeds in Comments

WordPress.com VIP Platform

This document is for sites running on our WordPress.com VIP platform.


On WordPress.com we support oEmbed for a number of different web services; if you’d like to disable oEmbed support within the commenting section of your site, you can do that with this filter:

add_filter( 'jetpack_comments_allow_oembed', '__return_false' );

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.