get_real_file_to_edit()

最后更新于:2021-11-26 23:21:16

get_real_file_to_edit( string$file)

Get the real filesystem path to a file to edit within the admin.

参数

$file

(string) (Required) Filesystem path relative to the gc-content directory.

响应

(string) Full filesystem path to edit.

源文件

文件: gc-admin/includes/deprecated.php

function get_real_file_to_edit( $file ) {
	_deprecated_function( __FUNCTION__, '2.9.0' );

	return GC_CONTENT_DIR . $file;
}