get_real_file_to_edit()
get_real_file_to_edit( string $file )
获取要在管理员中编辑的文件的实际文件系统路径。
Get the real filesystem path to a file to edit within the admin.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$file | (string) | 必需 | 相对于wp内容目录的文件系统路径。 |
返回(Return)
(string)要编辑的完整文件系统路径。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.9.0 | wp-admin/includes/deprecated.php:113 | 0 | 1 function |
get_real_file_to_edit() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_real_file_to_edit/