WP_Filesystem_FTPext::owner()
Gets the file owner.
Метод класса: WP_Filesystem_FTPext{}
Хуков нет.
Возвращает
Строку|false
. Username of the owner on success, false on failure.
Использование
$WP_Filesystem_FTPext = new WP_Filesystem_FTPext(); $WP_Filesystem_FTPext->owner( $file );
- $file(строка) (обязательный)
- Path to the file.
Список изменений
С версии 2.5.0 | Введена. |
Код WP_Filesystem_FTPext::owner() WP Filesystem FTPext::owner WP 6.5.2
public function owner( $file ) { $dir = $this->dirlist( $file ); return $dir[ $file ]['owner']; }