Uma área de pesquisa sobre o WordPress para devs e autores do tema



_oembed_filter_feed_content ›

Desde4.4.0
Obsoleton/a
_oembed_filter_feed_content ( $content )
Acesso:
  • private
Parâmetros:
  • (string) $content The content to filter.
    Required: Yes
Retorna:
  • (string) The filtered content.
Definido em:
Codex:

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



Fonte

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