translate_smiley
translate_smiley ( $matches )
Parameters:- (array) matches Single match. Smiley code to convert to image.
Returns:- (string) Image string for smiley.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Converts one smiley code to the icon graphic file equivalent.Callback handler for convert_smilies().
Looks up one smiley code in the $wpsmiliestrans global array and returns an
`
` string for that smiley.