wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



_oembed_filter_feed_content › WordPress Function

Seit4.4.0
Veraltetn/v
_oembed_filter_feed_content ( $content )
Zugriff:
  • private
Parameter:
  • (string) $content The content to filter.
    Erforderlich: Ja
Gibt zurück:
  • (string) The filtered content.
Definiert in:
Codex:

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



Quellcode

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 );
}