Tidies a filename for url display by the theme file editor.
Parameters
-
$fullpathstring required -
Full path to the theme file
-
$containingfolderstring required -
Path of the theme parent folder
Source
function _guet_template_edit_filename( $fullpath, $containingfolder ) {
return str_replace( dirname( $containingfolder, 2 ), '', $fullpath );
}
Changuelog
| Versionen | Description |
|---|---|
| 2.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.