Display different smiley when entering “:)”
Overriding the emoji of 🙂 to 😎 The content smilies are converted with: add_filter( ‘the_content’, ‘convert_smilies’ ); where this part of the convert_smilies() function is of importance: $content = preg_replace_callback( $wp_smiliessearch, ‘translate_smiley’, $content ); If we peek into translate_smiley() then we find the following: // Don’t convert smilies that aren’t images – they’re probably emoji. … Read more