K
Kirby
Guest
PHP:
As already noted via TODO:
Emoji listing does not...
Read more
Continue reading...
Code:
public function getEmojiListForDisplay($lazyLoad = false)
{
if (!\XF::config('fullUnicode'))
{
return [];
}
$list = $this->getDetailedEmojiList();
$formatter = \XF::app()->stringFormatter()->getEmojiFormatter();
$output = [];
foreach ($list AS $key => $emoji)
{
if ($emoji['diversity'])
{
// TODO: Support skin-tone modifiers
unset($list[$key]);
As already noted via TODO:
Emoji listing does not...
Read more
Continue reading...