3

Can I change WordPress emoji src from http://s.w.org/ to my site?

I just want to replace all emoji links from http://s.w.org/ to my site URL and I will use my own emoji images.

3

Yes, you can use the emoji_url filter. Note there are a few other filters available as well.

A simple example would be

add_filter( 'emoji_url', function( $url ) {
    return 'https://www.myowndomain.com/emoji/72x72/';
} );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.