get_file( $path )
Contents
Description Description
Source Source
File: wp-admin/includes/noop.php
103 104 105 106 107 108 109 110 111 112 113 114 | function get_file( $path ) { if ( function_exists( 'realpath' ) ) { $path = realpath ( $path ); } if ( ! $path || ! @ is_file ( $path ) ) { return '' ; } return @ file_get_contents ( $path ); } |
Expand full source code Collapse full source code View on Trac