WordPress at Your Fingertips
function is not described

WP_Filesystem_Base::chgrp() public WP 2.5.0

Changes the file group.

{} It's a method of the class: WP_Filesystem_Base{}

No Hooks.

Return

true|false. True on success, false on failure.

Usage

$WP_Filesystem_Base = new WP_Filesystem_Base();
$WP_Filesystem_Base->chgrp( $file, $group, $recursive );
$file(string) (required)
Path to the file.
$group(string|int) (required)
A group name or number.
$recursive(true|false)
If set to true, changes file group recursively.
Default: false

Changelog

Since 2.5.0 Introduced.

Code of WP_Filesystem_Base::chgrp() WP 5.8.2

public function chgrp( $file, $group, $recursive = false ) {
	return false;
}