WP_Filesystem_Base::chgrp()
Changes the file group.
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. |
WP_Filesystem_Base::chgrp() WP Filesystem Base::chgrp code WP 6.6.2
public function chgrp( $file, $group, $recursive = false ) { return false; }