Lists all entries in the Bad Words list.
wp admintools badwords list [--format=<format>] [--word=<word>] [--limit=<limit>]
--format=<format>The output format. Accepted values: table (default), json, csv, yaml, count.
--word=<word>Filter results by word. Performs a partial match, so searching for spam will also match spammer.
--limit=<limit>Limit the number of results returned. By default, all results are returned.
List all bad words:
wp admintools badwords list
Get the results as JSON:
wp admintools badwords list --format=json
Filter by word:
wp admintools badwords list --word=spam
+----+--------+| id | word |+----+--------+| 1 | spam || 2 | casino |+----+--------+