Core Function
View Source on Trac ↗ translate_smiley()
translate_smiley( mixed $matches ) Converts one smiley code to the icon graphic file equivalent.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $matches array | Single match. Smiley code to convert to image. Required |
Return Value
(string)
Image string for smiley.
Function Information
Since Version
2.8.0
Source File
wp-includes/formatting.php
Advertisement