_get_template_edit_filename

Advertisement

Private Access Private Access

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

Summery Summery

Tidies a filename for url display by the theme editor.

Syntax Syntax

_get_template_edit_filename( string $fullpath, string $containingfolder )

Parameters Parameters

$fullpath

(Required) Full path to the theme file

$containingfolder

(Required) Path of the theme parent folder

Return Return

(string)

Source Source

File: wp-admin/includes/theme.php

 *
 * @param string $fullpath Full path to the theme file
 * @param string $containingfolder Path of the theme parent folder

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply