,

WP CLI Support

When you install Shop Health for your clients, it’s good to know some of the available WP CLI commands. It can help you to trigger initial scans or clean the entire issues table at once.

Scedule Shop Health scans

You can schedule a Shop Health scan, this will be picked up by Action Schedular. You can scan a specific product, settings or the entire shop.

Run Shop Health scans

You can run Shop Health scans directly. You can scan a specific product, settings or the entire shop.

Clean up your Shop Health data

You can use WP CLI to clean up your Shop Health tables. This can be usefull after an import of new products / setting new ignored issues / accidentally ignored to many issues etc.