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.


Parameters

$extension

(string)The emoji extension for svg files. Default .svg.


Top ↑

Source

File: wp-includes/formatting.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More