函数原型
get_file( $path )
函数描述
是否弃用
未弃用
函数参数
无
函数返回值
无
函数位置
File: wp-admin/includes/noop.php.
函数源码
function get_file( $path ) {
$path = realpath( $path );
if ( ! $path || ! @is_file( $path ) ) {
return '';
}
return @file_get_contents( $path );
}
源码链接
变更日志
无