How to update category of all posts at once in WordPress wp term list category wp post update $(wp post list --post_type=post --format=ids) --post_category=NewCategoryID