WordPress at a glance
функция не описана

Requests_IDNAEncoder::is_ascii() protected WP 1.0

Check whether a given string contains only ASCII characters

It's a method of the class: Requests_IDNAEncoder{}

Хуков нет.

Возвращает

true/false. Is the string ASCII-only?

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

$result = Requests_IDNAEncoder::is_ascii( $string );
$string(string) (required)

Код Requests_IDNAEncoder::is_ascii() WP 5.5.1

<?php
protected static function is_ascii($string) {
	return (preg_match('/(?:[^\x00-\x7F])/', $string) !== 1);
}