get_real_file_to_edit

Advertisement

Deprecated Deprecated

This function has been deprecated.

Summery Summery

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

Syntax Syntax

get_real_file_to_edit( string $file )

Parameters Parameters

$file

(string) (Required) Filesystem path relative to the wp-content directory.

Return Return

(string) Full filesystem path to edit.

Source Source

File: wp-admin/includes/deprecated.php

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

	return WP_CONTENT_DIR . $file;
}

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 This function has been deprecated.
1.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.