WPDev.one
Core Function
View Source on Trac ↗

_get_template_edit_filename()

_get_template_edit_filename( mixed $fullpath, mixed $containingfolder )

Tidies a filename for url display by the theme file editor.

Parameters 2 required

Name / Type Description
$fullpath
string

Full path to the theme file

Required
$containingfolder
string

Path of the theme parent folder

Required

Return Value

(string)
string

Function Information

Since Version
2.9.0
Source File
wp-admin/includes/theme.php
Advertisement