Un motore di ricerca WordPress per sviluppatori e autori di temi



get_real_file_to_edit ›

Da1.5.0
Deprecato2.9.0
get_real_file_to_edit ( $file )
Parametri:
  • (string) $file Filesystem path relative to the wp-content directory.
    Richiesto:
Usi:
  • WP_CONTENT_DIR
Ritorna:
  • (string) Full filesystem path to edit.
Definito a:
Codex:

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



Sorgenti

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

	return WP_CONTENT_DIR . $file;
}