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.

Return

String. Full filesystem path to edit.

Usage

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

Changelog

Since 1.5.0 Introduced.
Deprecated since 2.9.0

get_real_file_to_edit() code WP 6.5.2

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

	return WP_CONTENT_DIR . $file;
}