apply_filters( ‘smilies’, string[] $wpsmiliestrans )

In this article

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

$wpsmiliestransstring[]
List of the smilies’ hexadecimal representations, keyed by their smily code.

Source

$wpsmiliestrans = apply_filters( 'smilies', $wpsmiliestrans );

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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