POP3::is_okpublicWP 1.0

The following methods are internal to the class.

Method of the class: POP3{}

No Hooks.

Returns

null. Nothing (null).

Usage

$POP3 = new POP3();
$POP3->is_ok ( $cmd );
$cmd
.
Default: ""

POP3::is_ok() code WP 6.8.3

function is_ok ($cmd = "") {
    //  Return true or false on +OK or -ERR

    if( empty($cmd) )
        return false;
    else
        return( stripos($cmd, '+OK') !== false );
}