When working with WordPress posts and you want to quickly change the status or date of one or more posts, it’s a simple affair via the built-in bulk and quick edit tools. However, when you’re dealing with custom post types and fields, it’s not so easy.
Please see the update below.
During a recent tasking to help the Media Burn Archive with speeding up mass updates for video meta fields, we found the easiest solution to be via WordPress’s action calls. Specifically the
While reading the documentation for
quick_edit_custom_box initially only gave a clue, two further references shed more light to really getting things done.
- Manage WordPress Posts Using Bulk Edit and Quick Edit
- Saving custom fields in quick or bulk edit mode in WordPress
While putting all of these resources together helped greatly, the final solution adapts for custom post types and minor security checks. There’s still more to do, but for now, it’s good enough.
Feel free to check out the code via downloading below.