WP_Filesystem_Base::owner

Advertisement

Summery Summery

Gets the file owner.

Syntax Syntax

WP_Filesystem_Base::owner( string $file )

Parameters Parameters

$file

(Required) Path to the file.

Return Return

(string|false) Username of the owner on success, false on failure.

Source Source

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

	 * @param bool      $recursive Optional. If set to true, changes file permissions recursively.
	 *                             Default false.
	 * @return bool True on success, false on failure.

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply