Last active
May 17, 2022 14:38
-
-
Save jasondewitt/b38daa6de73fb5d542309a5d45aed592 to your computer and use it in GitHub Desktop.
Install wptest.io via wp-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "installing WP test content" | |
wp plugin install wordpress-importer --activate | |
curl -OL https://raw.githubusercontent.com/manovotny/wptest/master/wptest.xml | |
wp import wptest.xml --authors=create | |
wp plugin uninstall wordpress-importer --deactivate | |
rm wptest.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment