emoji_svg_url filter-hookWP 4.6.0

Filters the URL where emoji SVG images are hosted.

Usage

add_filter( 'emoji_svg_url', 'wp_kama_emoji_svg_url_filter' );

/**
 * Function for `emoji_svg_url` filter-hook.
 * 
 * @param string $url The emoji base URL for svg images.
 *
 * @return string
 */
function wp_kama_emoji_svg_url_filter( $url ){

	// filter...
	return $url;
}
$url(string)
The emoji base URL for svg images.

Changelog

Since 4.6.0 Introduced.

Where the hook is called

_print_emoji_detection_script()
emoji_svg_url
wp-includes/formatting.php 5942
'svgUrl'  => apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/15.0.3/svg/' ),

Where the hook is used in WordPress

Usage not found.