emoji_ext

emoji_ext

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('emoji_ext') is found 2 times:

  • /wp-includes/formatting.php line 5908
    5904
    5905
    5906
    5907
    5908
    5909
    5910
    5911
    5912
    5913
    5914
    * @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
    6011
    6012
    6013
    6014
    6015
    6016
    6017
    6018
    6019
    6020
    6021
    /** 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.
     *