emoji_ext

emoji_ext

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('emoji_ext') is found 2 times:

  • /wp-includes/formatting.php line 5908
    		 * @since 4.2.0
    		 *
    		 * @param string $extension The emoji extension for png files. Default .png.
    		 */
    		'ext'     => apply_filters( 'emoji_ext', '.png' ),
    
    		/**
    		 * Filters the URL where emoji SVG images are hosted.
    		 *
    		 * @since 4.6.0
    		 *
    
  • /wp-includes/formatting.php line 6015
    	/** This filter is documented in wp-includes/formatting.php */
    	$cdn_url = apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/15.0.3/72x72/' );
    
    	/** This filter is documented in wp-includes/formatting.php */
    	$ext = apply_filters( 'emoji_ext', '.png' );
    
    	$output = '';
    	/*
    	 * HTML loop taken from smiley function, which was taken from texturize function.
    	 * It'll never be consolidated.
    	 *