WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

ftp_base::mdel() public WP 1.0

Это метод класса: ftp_base{}

Хуков нет.

Возвращает

Null. Ничего.

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

$ftp_base = new ftp_base();
$ftp_base->mdel( $remote, $continious );

Код ftp base::mdel: wp-admin/includes/class-ftp.php WP 5.5.1

<?php
function mdel($remote, $continious=false) {
	$list=$this->rawlist($remote, "-la");
	if($list===false) {
		$this->PushError("mdel","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
		return false;
	}

	foreach($list as $k=>$v) {
		$list[$k]=$this->parselisting($v);
		if( ! $list[$k] or $list[$k]["name"]=="." or $list[$k]["name"]=="..") unset($list[$k]);
	}
	$ret=true;

	foreach($list as $el) {
		if ( empty($el) )
			continue;

		if($el["type"]=="d") {
			if(!$this->mdel($remote."/".$el["name"], $continious)) {
				$ret=false;
				if(!$continious) break;
			}
		} else {
			if (!$this->delete($remote."/".$el["name"])) {
				$this->PushError("mdel", "can't delete file", "Can't delete remote file \"".$remote."/".$el["name"]."\"");
				$ret=false;
				if(!$continious) break;
			}
		}
	}

	if(!$this->rmdir($remote)) {
		$this->PushError("mdel", "can't delete folder", "Can't delete remote folder \"".$remote."/".$el["name"]."\"");
		$ret=false;
	}
	return $ret;
}