WordPress at a glance
function is not described

_oembed_filter_feed_content() WP 4.4.0

Prepare the oembed HTML to be displayed in an RSS feed.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.


String. The filtered content.


_oembed_filter_feed_content( $content );
$content(string) (required)
The content to filter.


Since 4.4.0 Introduced.

Code of _oembed_filter_feed_content() WP 5.7.2

function _oembed_filter_feed_content( $content ) {
	return str_replace( '<iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);"', '<iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"', $content );