kb: how-to
Plesk for Linux
ext: wptk
Applicable to:
- Plesk for Linux
Question
How to integrate WP-CLI in Plesk?
Answer
WordPress Toolkit in Plesk provides the CLI utility based on WP-CLI. It can be used with the following command:
# plesk ext wp-toolkit --wp-cli -instance-id [ID] -- [command] [options]
For example:
# plesk ext wp-toolkit --wp-cli -instance-id 1 -- plugin list
Instance ID can be obtained using the command below:
# plesk ext wp-toolkit --list
If a WP-CLI command supplied by a plugin does not work, add the option --skip-plugins=false
to the end of the command.
Refer to the Plesk documentation for additional information.
Comments
0 comments
Please sign in to leave a comment.