WP_Filesystem_Base::get_contents( string $file )

Read entire file into a string.


Parameters

$file

(string) (Required) Name of the file to read.


Return

(mixed|bool) Returns the read data or false on failure.


Source

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

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

Changelog

Changelog
Version Description
WP-2.5.0 Introduced.