wordpress

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckProjectVersion

func CheckProjectVersion(project WPProject)

* Check Version

func CleanProjectFilesforProduction

func CleanProjectFilesforProduction(path string, buildType string)

* CleanProjectFilesforProduction

func CleanVendorDirandFilesforProduction added in v1.4.0

func CleanVendorDirandFilesforProduction(path string, BuildType string)

* CleanVendorDirandFilesforProduction

func InitiateWordPressFunction

func InitiateWordPressFunction(flags library.Flag)

* Initiate WordPress Function

func SetConfigProduction

func SetConfigProduction(path string, production bool)

* SetConfigProduction

func WPRefactor

func WPRefactor(path string, fromName string, toName string, BuildType string)

Refactor Dot Framework

Types

type WPPath

type WPPath struct {
	File      string
	Directory string
}

* Path Type

type WPProject

type WPProject struct {
	Name    string
	Path    WPPath
	Version string
	Content string
}

* Plugin Type

func GetPluginInformation

func GetPluginInformation(path string) WPProject

* GetPluginInformation

func GetThemeInformation

func GetThemeInformation(path string) WPProject

* GetThemeInformation

func ReadCommentBlock added in v1.11.0

func ReadCommentBlock(project WPProject) WPProject

Read comment block

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL