apply_filters( ‘smilies_src’, string $smiley_url, string $img, string $site_url )

In this article

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

Parameters

$smiley_urlstring
URL for the smiley image.
$imgstring
Filename for the smiley image.
$site_urlstring
Site URL, as returned by site_url() .

Source

$src_url = apply_filters( 'smilies_src', includes_url( "images/smilies/$img" ), $img, site_url() );

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.