WP_Filesystem_Base::getchmod()
Gets the permissions of the specified file or filepath in their octal format.
Метод класса: WP_Filesystem_Base{}
Хуков нет.
Возвращает
Строку
. Mode of the file (the last 3 digits).
Использование
$WP_Filesystem_Base = new WP_Filesystem_Base(); $WP_Filesystem_Base->getchmod( $file );
- $file(строка) (обязательный)
- Path to the file.
Список изменений
С версии 2.5.0 | Введена. |
Код WP_Filesystem_Base::getchmod() WP Filesystem Base::getchmod WP 6.4.3
public function getchmod( $file ) { return '777'; }