Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

Other uncategorised cookies are those that are being analysed and have not been classified into a category as yet.

Skip to content

WP CLI commands

The Patchstack WordPress plugin provides you access to the following WP CLI command as of version 2.1.25.
Before running this command, the Patchstack WordPress plugin should be installed on the site. You can use the WP CLI command below to install it.

wp plugin install patchstack --activate
wp patchstack activate <id> <secret>
Example: wp patchstack activate 123456 2b072e8b60402e30d481df351fc08183906254e0

This command will connect and activate the license of the Patchstack WordPress plugin. It is important to provide the proper values for the and placeholders.

These values can be found at the following location:

  1. Go to the Patchstack App and log in
  2. Go to Sites from the left menu
  3. Click on the URL of your site
  4. Click on the Settings tab
  5. On the right side, the API key section contains the full API key
  6. Now in order to use this value in the WP CLI:
    1. You can either copy this one and as <id> you enter the value on the right side of the dash and as <secret> you enter the left side of the dash
    2. Or click on “Looking for the old Site ID and Site Secret Key format? Click here.” and you will be presented with the <id> and <secret> values directly
1