WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

SimplePie_Misc::codepoint_to_utf8() public WP 1.0

Converts a unicode codepoint to a UTF-8 character

{} Это метод класса: SimplePie_Misc{}

Хуков нет.

Возвращает

Строку. UTF-8 character

Использование

$result = SimplePie_Misc::codepoint_to_utf8( $codepoint );
$codepoint(число) (обязательный)
Unicode codepoint

Код SimplePie_Misc::codepoint_to_utf8() WP 5.5.3

<?php
public static function codepoint_to_utf8($codepoint)
{
	$codepoint = (int) $codepoint;
	if ($codepoint < 0)
	{
		return false;
	}
	else if ($codepoint <= 0x7f)
	{
		return chr($codepoint);
	}
	else if ($codepoint <= 0x7ff)
	{
		return chr(0xc0 | ($codepoint >> 6)) . chr(0x80 | ($codepoint & 0x3f));
	}
	else if ($codepoint <= 0xffff)
	{
		return chr(0xe0 | ($codepoint >> 12)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($codepoint & 0x3f));
	}
	else if ($codepoint <= 0x10ffff)
	{
		return chr(0xf0 | ($codepoint >> 18)) . chr(0x80 | (($codepoint >> 12) & 0x3f)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($codepoint & 0x3f));
	}

	// U+FFFD REPLACEMENT CHARACTER
	return "\xEF\xBF\xBD";
}