Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




_get_template_edit_filename [ WordPress Function ]

_get_template_edit_filename ( $fullpath, $containingfolder )
Access:
  • private
Parameters:
  • (string) $fullpath Full path to the theme file
  • (string) $containingfolder Path of the theme parent folder
Returns:
  • (string)
Defined at:



Tidies a filename for url display by the theme editor.

Source


<?php
function _get_template_edit_filename($fullpath$containingfolder) {
    return 
str_replace(dirname(dirname$containingfolder )) , ''$fullpath);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics