emoji_url WordPress Filter Hook

Emoji_url is a WordPress hook that allows you to change the URL of an emoji image. By default, WordPress will use the WordPress.org URL for emoji images. However, you can use this hook to change the URL to a different location, such as your own server or a CDN.

apply_filters( 'emoji_url', string $url ) #

Filters the URL where emoji png images are hosted.


Parameters

$url

(string)The emoji base URL for png images.


Top ↑

Source

File: wp-includes/formatting.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.2.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