diff --git a/www/wp-content/themes/enfold-cille/functions.php b/www/wp-content/themes/enfold-cille/functions.php index 149c8f1..2692841 100644 --- a/www/wp-content/themes/enfold-cille/functions.php +++ b/www/wp-content/themes/enfold-cille/functions.php @@ -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 '' . esc_html( $url ) . ''; -}; +} */ /* * Add a button to display the number of characters in Title and Content editor;