WP_Filesystem_Base::chgrp

Advertisement

Summery Summery

Changes the file group.

Syntax Syntax

WP_Filesystem_Base::chgrp( string $file, string|int $group, bool $recursive = false )

Parameters Parameters

$file

(string) (Required) Path to the file.

$group

(string|int) (Required) A group name or number.

$recursive

(bool) (Optional) If set to true, changes file group recursively.

Default value: false

Return Return

(bool) True on success, false on failure.

Source Source

File: wp-admin/includes/class-wp-filesystem-base.php

	 */
	public function chdir( $dir ) {
		return false;

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.