WPDev.one
Core Function
View Source on Trac ↗

wp_staticize_emoji()

wp_staticize_emoji( mixed $text )

Converts emoji to a static img element.

Parameters 1 required

Name / Type Description
$text
string

The content to encode.

Required

Return Value

(string)
The encoded content.

Function Information

Since Version
4.2.0
Source File
wp-includes/formatting.php
Advertisement