Un motore di ricerca WordPress per sviluppatori e autori di temi



_oembed_filter_feed_content ›

Da4.4.0
Deprecaton/a
_oembed_filter_feed_content ( $content )
Accedi:
  • private
Parametri:
  • (string) $content The content to filter.
    Richiesto:
Ritorna:
  • (string) The filtered content.
Definito a:
Codex:

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



Sorgenti

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