get_real_file_to_edit() – Get the real filesystem path to a file to edit within the admin.

You appear to be a bot. Output may be restricted

Description

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

Usage

$string = get_real_file_to_edit( $file );

Parameters

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

Returns

string Full filesystem path to edit.

Source

File name: wordpress/wp-admin/includes/deprecated.php
Lines:

1 to 5 of 5
function get_real_file_to_edit( $file ) {
  _deprecated_function( get_real_file_to_edit, '2.9.0' );

  return WP_CONTENT_DIR . $file;
}
 

 View on GitHub View on Trac