WP_Filesystem_FTPext::group() – Gets the file’s group.

You appear to be a bot. Output may be restricted

Description

Gets the file's group.

Usage

$string|false = WP_Filesystem_FTPext::group( $file );

Parameters

$file
( string ) required – Path to the file.

Returns

string|false The group on success, false on failure.

Source

File name: wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php
Lines:

1 to 5 of 5
  public function group( $file ) {
    $dir = $this->WP_Filesystem_FTPext::dirlist( $file );

    return $dir[ $file ]['group'];
  }
 

 View on GitHub View on Trac