WordPress at Your Fingertips
function is not described

ftp_base::mmkdir() 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->mmkdir( $dir, $mode );
$dir (required)
-
$mode **
-
Default: 0777

Code of ftp_base::mmkdir() WP 5.8.2

function mmkdir($dir, $mode = 0777) {
	if(empty($dir)) return FALSE;
	if($this->is_exists($dir) or $dir == "/" ) return TRUE;
	if(!$this->mmkdir(dirname($dir), $mode)) return false;
	$r=$this->mkdir($dir, $mode);
	$this->chmod($dir,$mode);
	return $r;
}