WP_Filesystem_FTPext::is_file( string $file )
Parameters
- $file
-
(Required)
Return
(bool)
Source
File: wp-admin/includes/class-wp-filesystem-ftpext.php
public function is_file($file) {
return $this->exists($file) && !$this->is_dir($file);
}