New and updated in 2.5.0
-
Sets the access and modification times of a file.
-
Creates a directory.
-
Deletes a directory.
-
Gets the file owner.
-
Gets the file’s group.
-
Copies a file.
-
Returns the *nix-style file permissions for a file.
-
Converts *nix-style file permissions to an octal number.
-
Changes the owner of a file or directory.
-
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.
-
Changes filesystem permissions.
-
Deletes a directory.
Used by 0 functions | Uses 1 function | Source: wp-admin/includes/class-wp-filesystem-direct.php:613 -
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:653 -
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.
-
Creates a directory.
Used by 0 functions | Uses 4 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:574 -
Gets the file owner.
Used by 1 function | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:254 -
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:282 -
Gets the file’s group.
Used by 1 function | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:299 -
Copies a file.
Used by 1 function | Uses 2 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:332 -
Moves a file or directory.
Used by 0 functions | Uses 4 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:364 -
Deletes a file or directory.
Used by 3 functions | Uses 5 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:401 -
Checks if a file or directory exists.
Used by 4 functions | Uses 0 functions | Source: wp-admin/includes/class-wp-filesystem-direct.php:446