Core Function
View Source on Trac ↗ get_real_file_to_edit()
get_real_file_to_edit( mixed $file ) Get the real filesystem path to a file to edit within the admin.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $file string | Filesystem path relative to the wp-content directory. Required |
Return Value
(string)
Full filesystem path to edit.
Function Information
Since Version
1.5.0
Source File
wp-admin/includes/deprecated.php
Advertisement