wp_encode_emoji


wp_encode_emoji ( $content )

Parameters:
  • (string) $content The content to encode.
Returns:
  • (string) The encoded content.
Defined at:

Description

Convert emoji characters to their equivalent HTML entity.

This allows us to store emoji in a DB using the utf8 character set.

Related Functions

wp_staticize_emoji, wp_enqueue_code_editor, wp_json_encode, wp_setcookie, wp_send_json

Top Google Results

User discussions

wpseek mobile