_oembed_filter_feed_content() – Prepare the oembed HTML to be displayed in an RSS feed.

You appear to be a bot. Output may be restricted

Description

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

Usage

$string = _oembed_filter_feed_content( $content );

Parameters

$content
( string ) required – The content to filter.

Returns

string The filtered content.

Source

File name: wordpress/wp-includes/embed.php
Lines:

1 to 3 of 3
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 );
}
 

 View on GitHub View on Trac