WP_Filesystem_FTPext::group
Gets the file's group.
Method of the class: WP_Filesystem_FTPext{}
No Hooks.
Returns
String|false. The group on success, false on failure.
Usage
$WP_Filesystem_FTPext = new WP_Filesystem_FTPext(); $WP_Filesystem_FTPext->group( $file );
- $file(string) (required)
- Path to the file.
Changelog
| Since 2.5.0 | Introduced. |
WP_Filesystem_FTPext::group() WP Filesystem FTPext::group code WP 6.9.1
public function group( $file ) {
$dir = $this->dirlist( $file );
return $dir[ $file ]['group'];
}