bherrero
11/25/2016 - 12:03 PM

Borrar revisiones en multisitio con WP-CLI | Removing post revisions in a multisite with WP-CLI

Borrar revisiones en multisitio con WP-CLI | Removing post revisions in a multisite with WP-CLI

#!/bin/bash
 
for url in $(wp site list --field=url)
do
  echo $url #used for progress purposes
  wp revisions clean --url=$url
done