smilies_init


smilies_init ( No parameters )

Defined at:

Description

Convert smiley code to the icon graphic file equivalent.

You can turn off smilies, by going to the write setting screen and unchecking the box, or by setting 'use_smilies' option to false or removing the option.

Plugins may override the default smiley list by setting the $wpsmiliestrans to an array, with the key the code the blogger types in and the value the image file.

The $wp_smiliessearch global is for the regular expression and is set each time the function is called.

The full list of smilies can be found in the function and won't be listed in the description. Probably should create a Codex page for it, so that it is available.

Related Functions

kses_init, wp_widgets_init, is_main_site, rest_api_init, kses_init_filters

Top Google Results

User discussions

wpseek mobile