What is the most efficient way to reset a WordPress site?
If you only want to empty the site of its content (posts, comments, terms, and meta) then there’s a wp-cli command for that: $ wp site empty Use the the –uploads parameter to delete all files in the uploads folder and –yes to skip the conformation. Warning: Remember to backup before testing! See the wp-cli … Read more