W3cubDocs

/WordPress

apply_filters( 'smilies', string[] $wpsmiliestrans )

Filters all the smilies.

Description

This filter must be added before smilies_init is run, as it is normally only run once to setup the smilies regex.

Parameters

$wpsmiliestrans

(string[]) List of the smilies' hexadecimal representations, keyed by their smily code.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
4.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/smilies