WP_CLI
Runner::wp_is_readable
Are WordPress core files readable?
Method of the class: Runner{}
No Hooks.
Returns
true|false.
Usage
// private - for code of main (parent) class only $result = $this->wp_is_readable();
Runner::wp_is_readable() Runner::wp is readable code WP-CLI 2.13.0-alpha
private function wp_is_readable() {
return is_readable( ABSPATH . 'wp-includes/version.php' );
}