Documentation ¶
Index ¶
- Variables
- func AddThemeHookFunc(name string, fn func(handle *wp.Handle))
- func BuildTemplate() *multipTemplate.MultipleFsTemplate
- func FuncMap() template.FuncMap
- func GetCurrentTemplateName() string
- func GetMultipleTemplate() *multipTemplate.MultipleFsTemplate
- func GetTemplate(name string) (*template.Template, bool)
- func Hook(themeName string, h *wp.Handle)
- func InitTheme()
- func IsTemplateDirExists(tml string) bool
- func IsTemplateExists(tml string) bool
- func IsThemeHookFuncExist(name string) bool
- func SetTemplate(name string, val *template.Template)
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplateFs embed.FS
Functions ¶
func AddThemeHookFunc ¶
func BuildTemplate ¶
func BuildTemplate() *multipTemplate.MultipleFsTemplate
func GetCurrentTemplateName ¶
func GetCurrentTemplateName() string
func GetMultipleTemplate ¶
func GetMultipleTemplate() *multipTemplate.MultipleFsTemplate
func IsTemplateDirExists ¶
func IsTemplateExists ¶
func IsThemeHookFuncExist ¶
func SetTemplate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.