WP_Filesystem_Direct::is_readable() – Checks if a file is readable.

You appear to be a bot. Output may be restricted

Description

Checks if a file is readable.

Usage

$bool = WP_Filesystem_Direct::is_readable( $file );

Parameters

$file
( string ) required – Path to file.

Returns

bool Whether $file is readable.

Source

File name: wordpress/wp-admin/includes/class-wp-filesystem-direct.php
Lines:

1 to 3 of 3
  public function is_readable( $file ) {
    return @is_readable( $file );
  }
 

 View on GitHub View on Trac