WordPress at a glance
function is not described

POP3::quit() public WP 1.0

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

No Hooks.

Return

Null. Nothing.

Usage

$POP3 = new POP3();
$POP3->quit();

Code of POP3::quit() WP 5.5.1

<?php
function quit() {
    //  Closes the connection to the POP3 server, deleting
    //  any msgs marked as deleted.

    if(!isset($this->FP))
    {
        $this->ERROR = "POP3 quit: " . _("connection does not exist");
        return false;
    }
    $fp = $this->FP;
    $cmd = "QUIT";
    fwrite($fp,"$cmd\r\n");
    $reply = fgets($fp,$this->BUFFER);
    $reply = $this->strip_clf($reply);
    if($this->DEBUG) { @error_log("POP3 SEND [$cmd] GOT [$reply]",0); }
    fclose($fp);
    unset($this->FP);
    return true;
}