WP_Filesystem_ftpsockets::chgrp( string $file, bool $group, bool $recursive = false )

Parameters

$file

(string) (Required)

$group

(bool) (Required)

$recursive

(bool) (Optional)

Default value: false

Source

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

public function get_contents_array( $file ) {
		return explode( "\n", $this->get_contents( $file ) );
	}

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_filesystem_ftpsockets/chgrp