get_file()WP 1.0

No Hooks.

Return

null. Nothing.

Usage

get_file( $path );
$path (required)
-

get_file() code WP 6.1.1

function get_file( $path ) {

	$path = realpath( $path );

	if ( ! $path || ! @is_file( $path ) ) {
		return '';
	}

	return @file_get_contents( $path );
}