On this page
WP_Filesystem_Base::is_dir( string $path ): bool
Checks if resource is a directory.
Parameters
$pathstring Required-
Directory path.
Return
bool Whether $path is a directory.
Source
File: wp-admin/includes/class-wp-filesystem-base.php. View all references
public function is_dir( $path ) {
return false;
}
Related
Used By
| Used By | Description |
|---|---|
| WP_Filesystem_Base::abspath() wp-admin/includes/class-wp-filesystem-base.php | Returns the path on the remote filesystem of ABSPATH. |
| WP_Filesystem_Base::find_folder() wp-admin/includes/class-wp-filesystem-base.php | Locates a folder on the remote filesystem. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_filesystem_base/is_dir