Summery Summery
Checks if resource is a directory.
Syntax Syntax
Parameters Parameters
- $path
-
(Required) Directory path.
Return Return
(bool) Whether $path is a directory.
Source Source
File: wp-admin/includes/class-wp-filesystem-ftpsockets.php
if ( $this->is_dir( $file ) ) { return false; } if ( $this->exists( $file ) ) { return true; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |