WP_Filesystem_Base::owner
Gets the file owner.
Method of the class: WP_Filesystem_Base{}
No Hooks.
Returns
String|false. Username of the owner on success, false on failure.
Usage
$WP_Filesystem_Base = new WP_Filesystem_Base(); $WP_Filesystem_Base->owner( $file );
- $file(string) (required)
- Path to the file.
Changelog
| Since 2.5.0 | Introduced. |
WP_Filesystem_Base::owner() WP Filesystem Base::owner code WP 7.0
public function owner( $file ) {
return false;
}