WP_Filesystem_SSH2::rmdir

Advertisement

Summery Summery

Deletes a directory.

Syntax Syntax

WP_Filesystem_SSH2::rmdir( string $path, bool $recursive = false )

Parameters Parameters

$path

(string) (Required) Path to directory.

$recursive

(bool) (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-ssh2.php

			return false;
		}

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?