The admintools badwords command group lets you manage the Bad Words list used by the WAF to filter malicious content.
Adds a new word to the Bad Words list.
wp admintools badwords add <word> [--format=<format>]
<word>The word to add to the Bad Words list.
--format=<format>The output format. Accepted values: text (default), json.
Add a word:
wp admintools badwords add "spam"
Add a word and get JSON output with the new entry's ID:
wp admintools badwords add "casino" --format=json
Success: Bad word added with ID 1.