Created
December 13, 2021 18:23
-
-
Save starsinmypockets/4905f83e168b702a40a6ed2c900a2d4b to your computer and use it in GitHub Desktop.
WP CLI commands
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
# Delete all spam comments | |
wp comment delete $(wp comment list --status=spam --format=ids) --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment