get_file

Advertisement

Syntax Syntax

get_file( $path )

Source Source

File: wp-admin/includes/noop.php

function get_file( $path ) {

	$path = realpath( $path );

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

	return @file_get_contents( $path );
}

Advertisement

Advertisement

Leave a Reply