⏪ Revierte previsualización de contenidos
This commit is contained in:
parent
ca2a0b3190
commit
585a95fac3
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue