Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cache:lscwp:wordpress_cli [2017/10/16 13:40]
Lisa Clarke proofread and moved off of LSCWP index page onto its own page
litespeed_wiki:cache:lscwp:wordpress_cli [2018/09/10 13:04]
Lisa Clarke Added rm_bkup
Line 1: Line 1:
 ====== WordPress CLI ====== ====== WordPress CLI ======
 +
 +WP-CLI is the command-line interface for WordPress. It allows you to perform many actions that would normally require visiting your WordPress Dashboard in a browser. The following commands are provided by LiteSpeed, so that you may manage your cache with the CLI.
  
 ===== Option Commands ===== ===== Option Commands =====
Line 54: Line 56:
 For example, purge the post ids ''​1'',​ ''​3'',​ and ''​5''​ For example, purge the post ids ''​1'',​ ''​3'',​ and ''​5''​
 <​code>​wp lscache-purge post_id 1 3 5</​code>​ <​code>​wp lscache-purge post_id 1 3 5</​code>​
 +
 +===== Image Optimization Commands =====
 +
 +==== Removes original backups ====
 +<​code>​wp lscache-iapi rm_bkup</​code>​
  • Admin
  • Last modified: 2020/11/14 15:45
  • by Lisa Clarke