Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
_oembed_filter_feed_content( string $content )
Prepare the oembed HTML to be displayed in an RSS feed.
Description Description
Parameters Parameters
- $content
-
(string) (Required) The content to filter.
Return Return
(string) The filtered content.
Source Source
File: wp-includes/embed.php
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 ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |