New and updated in 2.5.0
-
Checks if resource is a directory.
-
Checks if a file is readable.
-
Checks if a file or directory is writable.
-
Changes filesystem permissions.
-
Returns the *nix-style file permissions for a file.
-
Gets the file owner.
-
Converts *nix-style file permissions to an octal number.
-
Gets the file’s group.
-
Changes the owner of a file or directory.
-
Copies a file.
-
Connects filesystem.
-
Reads entire file into a string.
-
Reads entire file into an array.
-
Writes a string to a file.
-
Gets the current working directory.
-
Changes current directory.
-
Changes the file group.
-
Creates a directory.
Used by 0 functions | Uses 4 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:546 -
Deletes a directory.
Used by 0 functions | Uses 1 function | Source: wp-admin/includes/class-wp-filesystem-direct.php:585 -
Gets details for files in a directory or a specific file.
Used by 5 functions | Uses 9 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:624 -
classWP_Filesystem_Base
Base WordPress Filesystem class which Filesystem implementations extend.
-
Locates a folder on the remote filesystem.
-
Locates a folder on the remote filesystem.
-
Checks if a file or directory is writable.
Used by 0 functions | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:466 -
Gets the file owner.
Used by 1 function | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:229 -
Gets the file’s last access time.
Used by 0 functions | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:478 -
Gets the permissions of the specified file or filepath in their octal format.
Used by 0 functions | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:259 -
Gets the file modification time.
Used by 1 function | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:490 -
Gets the file’s group.
Used by 1 function | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:271 -
Gets the file size (in bytes).
Used by 1 function | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:502