|
@@ -49,7 +49,6 @@ function disable_emojis() {
|
|
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
|
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
|
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
|
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
|
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
|
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
|
- add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
|
|
|
add_filter( 'emoji_svg_url', '__return_false' );
|
|
add_filter( 'emoji_svg_url', '__return_false' );
|
|
}
|
|
}
|
|
add_action( 'init', 'disable_emojis' );
|
|
add_action( 'init', 'disable_emojis' );
|