Closed mogmarsh closed 2 months ago
@mogmarsh Had you have a chance to look at our custom trait? It was designed to support this scenario, and others.
We have doc on how to use it here: https://github.com/alleyinteractive/wp-bulk-task?tab=readme-ov-file#use
@renatonascalves Nice! I hadn't seen that. I will close this issue.
already exists
Description
It is a common use case to not update the post date when running a bulk task. I think it would make sense to add this functionality into the Bulk Task with some sort of way to enable it for a task.
The code to do it looks something like the following, and currently must be copied from project to project every time it is needed.
Use Case
When instantiating a bulk task or running a bulk task, users could set an option or flag to disable updating the
post_modified
andpost_modified_gmt
values.