Revierte previsualización de contenidos

This commit is contained in:
Manuel Cillero 2025-06-28 07:25:19 +02:00
parent ca2a0b3190
commit 585a95fac3

View file

@ -289,13 +289,13 @@ function social_post_defautl_thumbnail( $html, $post_id, $post_thumbnail_id, $si
return $html;
} */
/**
* Remove Reddit as oEmbed provider.
*/
/*
* Remove provider previews.
*
add_filter( 'embed_oembed_html', 'wp_remove_oembed_providers', 10, 2 );
function wp_remove_oembed_providers( $html, $url ) {
return '<a href="' . esc_url( $url ) . '" rel="noopener noreferrer" target="_blank">' . esc_html( $url ) . '</a>';
};
} */
/*
* Add a button to display the number of characters in Title and Content editor;