Skip to content

Instantly share code, notes, and snippets.

@ashybaye
Last active April 24, 2019 13:16
Show Gist options
  • Save ashybaye/eb84238a392f18a6049eb67eccd7c9a9 to your computer and use it in GitHub Desktop.
Save ashybaye/eb84238a392f18a6049eb67eccd7c9a9 to your computer and use it in GitHub Desktop.
Useful WP-CLI commands

Create dummy content:

@ WordPress project root directory

$ curl -OL https://raw.githubusercontent.com/poststatus/wptest/master/wptest.xml
$ wp import wptest.xml --authors=create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment