get_file()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
get_file( $path );
- $path (обязательный)
- -
Код get_file() get file WP 6.5.2
function get_file( $path ) { if ( function_exists( 'realpath' ) ) { $path = realpath( $path ); } if ( ! $path || ! @is_file( $path ) ) { return false; } return @file_get_contents( $path ); }