WP_Filesystem_FTPext::group()
Gets the file's group.
Method of the class: WP_Filesystem_FTPext{}
No Hooks.
Return
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.7.1
public function group( $file ) { $dir = $this->dirlist( $file ); return $dir[ $file ]['group']; }