WP_Filesystem_Base::get_contents_array( string $file )

Read entire file into an array.


Parameters

$file

(string) (Required) Path to the file.


Return

(array|bool) the file contents in an array or false on failure.


Source

File: wp-admin/includes/class-wp-filesystem-base.php

	public function get_contents_array( $file ) {
		return false;
	}

Changelog

Changelog
Version Description
WP-2.5.0 Introduced.