wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



_get_template_edit_filename › WordPress Function

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 file editor.



Sorgenti

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