POP3::strip_clf()publicWP 1.0

Method of the class: POP3{}

No Hooks.

Return

null. Nothing (null).

Usage

$POP3 = new POP3();
$POP3->strip_clf ( $text );
$text **
-
Default: ""

POP3::strip_clf() code WP 6.5.2

function strip_clf ($text = "") {
    // Strips \r\n from server responses

    if(empty($text))
        return $text;
    else {
        $stripped = str_replace(array("\r","\n"),'',$text);
        return $stripped;
    }
}