emoji_svg_ext WordPress Filter Hook
The emoji_svg_ext Wordpress hook is used to filter the output of the wp_emoji_svg() function. This hook is useful for creating custom emoji or for removing the default emoji behavior.
apply_filters( 'emoji_svg_ext', string $extension ) #
Filters the extension of the emoji SVG files.
Contents
Parameters
- $extension
(string)The emoji extension for svg files. Default .svg.
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |