← Blog

WP CLI Delete All Terms in Taxonomy

WordPress1 min read

wp term delete {taxonomy} $(wp term list {taxonomy} --fields=term_id)

Stuck on something like this?

I help businesses and agencies with WordPress, WooCommerce and JavaScript problems, from one-off fixes to ongoing support.