WP_Filesystem_Direct::is_readable( string $file ): bool
- Since
- 2.5.0
- Source
wp-admin/includes/class-wp-filesystem-direct.php:454
Checks if a file is readable.
Parameters
$filestring- Path to file.
Return
bool- Whether $file is readable.
Used by · 1
- WP_Filesystem_Direct::dirlist()Gets details for files in a directory or a specific file.
Source
public function is_readable( $file ) { return @is_readable( $file ); }History
Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 tag, from
src/wp-admin/includes/class-wp-filesystem-direct.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.