Setting custom field values on old WordPress posts in bulk via WP-CLI

If you are a WordPress user that takes advantage of custom fields and WP-CLI… this may interest you. Let’s say you’re using ACF field groups on posts in a certain category. You have a new custom field with a default value you’ve added to that field group. You’ve already modified the template to conditionally show […]