WordPress at Your Fingertips
function is not described

get_real_file_to_edit() WP 1.5.0

Deprecated from version 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.


Since 1.5.0 Introduced.
Deprecated 2.9.0

Code of get_real_file_to_edit() WP 5.8.2

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

	return WP_CONTENT_DIR . $file;