WordPress at Your Fingertips
function is not described

ftp_base::features() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$ftp_base = new ftp_base();
$ftp_base->features();

Code of ftp_base::features() WP 5.8.2

function features() {
	if(!$this->_exec("FEAT", "features")) return FALSE;
	if(!$this->_checkCode()) return FALSE;
	$f=preg_split("/[".CRLF."]+/", preg_replace("/[0-9]{3}[ -].*[".CRLF."]+/", "", $this->_message), -1, PREG_SPLIT_NO_EMPTY);
	$this->_features=array();
	foreach($f as $k=>$v) {
		$v=explode(" ", trim($v));
		$this->_features[array_shift($v)]=$v;
	}
	return true;
}