smilies_src WordPress Filter Hook

The smilies_src wordpress hook allows you to change the source of the smilies used in your wordpress installation. This can be useful if you want to use a different set of smilies or if you want to change the location of the smilies used by your wordpress installation.

apply_filters( 'smilies_src', string $smiley_url, string $img, string $site_url ) #

Filters the Smiley image URL before it’s used in the image element.


Parameters

$smiley_url

(string)URL for the smiley image.

$img

(string)Filename for the smiley image.

$site_url

(string)Site URL, as returned by site_url().


Top ↑

Source

File: wp-includes/formatting.php

View on Trac



Top ↑

Changelog

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