smilies WordPress Filter Hook
The smilies Wordpress hook is a great way to add some personality to your blog posts and comments. Using this hook, you can add smilies (emoticons) to your blog posts and comments to add some fun and personality.
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
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |