WP_Filesystem_SSH2::is_dir

Advertisement

Summery Summery

Checks if resource is a directory.

Syntax Syntax

WP_Filesystem_SSH2::is_dir( string $path )

Parameters Parameters

$path

(string) (Required) Directory path.

Return Return

(bool) Whether $path is a directory.

Source Source

File: wp-admin/includes/class-wp-filesystem-ssh2.php

	 * @param string $file Path to file or directory.
	 * @return bool Whether $file exists or not.
	 */

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?