wp_encode_emoji
wp_encode_emoji ( $content )
Parameters:- (string) content The content to encode.
Returns:- (string) The encoded content.
Defined at: - Introduced in WordPress: 4.2.0
- Deprecated in WordPress: —
Description
Converts emoji characters to their equivalent HTML entity.This allows us to store emoji in a DB using the utf8 character set.