Delete posts based on search
# Spaces needs replace with + (plus sign)
# Eg: hello+world
wp post delete $(wp post list --post_type='post' --s='keyword+here' --format=ids) --force
# Spaces needs replace with + (plus sign)
# Eg: hello+world
wp post delete $(wp post list --post_type='post' --s='keyword+here' --format=ids) --force