The wpt_license Script

Valid for versions 92 through the latest version

Version:

92


Last modified: December 18, 2020

Overview

You can use the /usr/local/cpanel/bin/wpt_license script to check whether you have a WordPress Toolkit license. You can also use this script to download your WordPress Toolkit license to your server.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/bin/wpt_license [options]

Options

Use the following options with this script:

Note:

You must use the --check, --download, or --update option to run this script.

Options
Description Example
--check Required
Use this option to check if the license server has a license for your server, but do not save the license.
/usr/local/cpanel/scripts/wpt_license --check
--download Required
Use this option to check if the license server has a license for your server, and if so, save the license to disk.
/usr/local/cpanel/scripts/wpt_license --download
--update Required
Use this option to download your server’s license from the license server and apply it to WordPress Toolkit.
/usr/local/cpanel/scripts/wpt_license --update
--help Print this script’s help text. /usr/local/cpanel/scripts/wpt_license --help

Additional Documentation