CP_Customization_Frontend::remove_emoji_hint( $urls,  $relation )


Source

File: wp-includes/classicpress/class-cp-customization-frontend.php

	public function remove_emoji_hint( $urls, $relation ) {
		if ( 'dns-prefetch' === $relation ) {
			$wp_url = 'https://s.w.org/images/core/emoji/';
			$cp_url = 'https://twemoji.classicpress.net';
			foreach ( $urls as $key => $url ) {
				if ( str_starts_with( $url, $wp_url ) || str_starts_with( $url, $cp_url ) ) {
					unset( $urls[ $key ] );
				}
			}
		}
		return $urls;
	}