WP_Filesystem_SSH2::is_dir() – Checks if resource is a directory.

You appear to be a bot. Output may be restricted

Description

Checks if resource is a directory.

Usage

$bool = WP_Filesystem_SSH2::is_dir( $path );

Parameters

$path
( string ) required – Directory path.

Returns

bool Whether $path is a directory.

Source

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

1 to 3 of 3
  public function is_dir( $path ) {
    return is_dir( $this->WP_Filesystem_SSH2::sftp_path( $path ) );
  }
 

 View on GitHub View on Trac