WordPress at a glance
function is not described

get_real_file_to_edit() WP 1.5.0

Deprecated in 2.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

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

No Hooks.


String. Full filesystem path to edit.


get_real_file_to_edit( $file );
$file(string) (required)
Filesystem path relative to the wp-content directory.

Code of get real file to edit: wp-admin/includes/deprecated.php WP 5.2.1

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

	return WP_CONTENT_DIR . $file;