translate_smiley


translate_smiley ( $matches )

Parameters:
  • (array) $matches Single match. Smiley code to convert to image.
Returns:
  • (string) Image string for smiley.
Defined at:

Description

Convert 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 <img> string for that smiley.

Related Functions

translate_user_role, translate, translate_with_context, translate_level_to_role, validate_file

Top Google Results

User discussions

wpseek mobile