wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



_oembed_filter_feed_content › WordPress Function

Od4.4.0
Przestarzałyn/a
_oembed_filter_feed_content ( $content )
Dostęp:
  • private
Parametry:
  • (string) $content The content to filter.
    Wymagane: Tak
Powrót:
  • (string) The filtered content.
Zdefiniowane na:
Codex:

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



Źródło

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