_guet_template_edit_filenam ( string   $fullpath , string   $containingfolder ): string

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

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

Parameters

$fullpath string required
Full path to the theme file
$containingfolder string required
Path of the theme parent folder

Return

string

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.