Plesk

wp-toolkit: WP Toolkit

The wp-toolkit utility allows you to perform certain actions on
WordPress installations.

Note: This utility is available when the WP Toolkit extension is
installed in Plesk and is used with the plesk ext utility.

Additionally, WP-CLI (official WordPress command-line interface) is
integrated into wp-toolkit utility. You can invoke it with the
wp-cli command and use it to manage WordPress websites.
Read
more

about WP-CLI.

Usage

plesk ext wp-toolkit <command> [options]

Example

The following command provides main data for all WordPress installations
existing on the server:

plesk ext wp-toolkit --list

Commands

Command Parameter Description Example
--clear-cache [option]

Clears the cache of the selected WordPress installation.

Requires the following options: -instance-id | -main-domain-id and -path.

To show output in a particular format, specify the -format option.
Supported formats: JSON, raw. By default all data is shown in the raw format.

To clear the cache of the WordPress installation with the ID 1:

plesk ext wp-toolkit --clear-cache -instance-id 1

--clear-wpt-cache Clears the WP Toolkit cache.

To clear the WP Toolkit cache: