Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PluginInstallPath = `wp-admin/plugin-install.php` PluginUpdatePath = `wp-admin/update.php` PluginEditPath = `wp-admin/plugin-editor.php` )
View Source
var LoginPath = `wp-login.php`
Functions ¶
func GeneratePlugin ¶
Generates a ZIP containing the minimum requirement for a WordPress plugin and the provided payload. This function returns the name of the internal payload and generally will be resolved to `/wp-content/plugins/<name>/<payloadName>`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.