PHPMailer\PHPMailer

POP3::stripControls │ protected static │ WP 1.0

Strip all control chars from a string.

Метод класса: POP3{}

Хуков нет.

Возвращает

string.

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

$result = POP3::stripControls( $string );
$string(обязательный)
.

Код POP3::stripControls() WP 7.1.2

protected static function stripControls($string)
{
    return preg_replace('/[\x00-\x1F\x7F]/u', '', $string);
}