emoji_url
Filters the URL where emoji png images are hosted.
Usage
add_filter( 'emoji_url', 'wp_kama_emoji_url_filter' ); /** * Function for `emoji_url` filter-hook. * * @param string $url The emoji base URL for png images. * * @return string */ function wp_kama_emoji_url_filter( $url ){ // filter... return $url; }
- $url(string)
- The emoji base URL for png images.
Changelog
Since 4.2.0 | Introduced. |
Where the hook is called
emoji_url
wp-includes/formatting.php 5914
'baseUrl' => apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/15.0.3/72x72/' ),
wp-includes/formatting.php 6027
$cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/15.0.3/72x72/' );