Skip to content

Instantly share code, notes, and snippets.

@PontusTideman
Forked from richardsweeney/update-all-pages.sh
Created April 11, 2017 03:57
Show Gist options
  • Save PontusTideman/1042e2f77424a80a7edb84c43ec3486b to your computer and use it in GitHub Desktop.
Save PontusTideman/1042e2f77424a80a7edb84c43ec3486b to your computer and use it in GitHub Desktop.
wp post update $(wp post list --post_type='page' --post_status='publish' --format=ids) --post_status='publish' --defer-term-counting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment