Summery Summery
Gets the file owner.
Syntax Syntax
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-direct.php
return true; } /** * Gets the file owner. * * @since 2.5.0 * * @param string $file Path to the file. * @return string|false Username of the owner on success, false on failure.
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |