Aller au contenu principal

ActivatePluginStep

Activates a WordPress plugin (if it’s installed).

@example
<code>
{
"step": "activatePlugin",
"pluginName": "Gutenberg",
"pluginPath": "/wordpress/wp-content/plugins/gutenberg"
}
</code>

Index

Properties

optionalpluginName

pluginName?: string

Optional. Plugin name to display in the progress bar.

pluginPath

pluginPath: string

Path to the plugin directory as absolute path (/wordpress/wp-content/plugins/plugin-name); or the plugin entry file relative to the plugins directory (plugin-name/plugin-name.php).

step

step: activatePlugin