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 all references

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


Top ↑

Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes

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