Summery Summery
Deletes a directory.
Syntax Syntax
Parameters Parameters
- $path
-
(Required) Path to directory.
- $recursive
-
(Optional) Whether to recursively remove files/directories.
Default value: false
Return Return
(bool) True on success, false on failure.
Source Source
File: wp-admin/includes/class-wp-filesystem-ftpsockets.php
} if ( ! $this->ftp->mkdir( $path ) ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |