wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
_oembed_filter_feed_content is private and should not be used in themes or plugins directly.
_oembed_filter_feed_content › WordPress Function
Depuis4.4.0
Dépréciéen/a
› _oembed_filter_feed_content ( $content )
Accès: |
|
Paramètres: |
|
Retourne: |
|
Défini(e) dans: |
|
Codex: |
Prepare the oembed HTML to be displayed in an RSS feed.
Fonctions en relation: filter_block_content, wp_oembed_register_route, rest_filter_response_by_context, get_theme_starter_content, wp_filter_content_tags
Source
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 ); }