Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_real_file_to_edit ›

Desde1.5.0
Obsoleto2.9.0
get_real_file_to_edit ( $file )
Parâmetros:
  • (string) $file Filesystem path relative to the wp-content directory.
    Required: Yes
Usos:
  • WP_CONTENT_DIR
Retorna:
  • (string) Full filesystem path to edit.
Definido em:
Codex:

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



Fonte

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

	return WP_CONTENT_DIR . $file;
}