Un motore di ricerca WordPress per sviluppatori e autori di temi



_get_template_edit_filename ›

Da2.9.0
Deprecaton/a
_get_template_edit_filename ( $fullpath, $containingfolder )
Accedi:
  • private
Parametri: (2)
  • (string) $fullpath Full path to the theme file
    Richiesto:
  • (string) $containingfolder Path of the theme parent folder
    Richiesto:
Ritorna:
  • (string)
Definito a:
Codex:

Tidies a filename for url display by the theme editor.



Sorgenti

function _get_template_edit_filename( $fullpath, $containingfolder ) {
	return str_replace( dirname( dirname( $containingfolder ) ), '', $fullpath );
}