TGM Batch Updates
A batch updating utility plugin for WordPress.
by Thomas Griffin · github.com/thomasgriffin/tgm-batch-updates · website
★ 34stars
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/thomasgriffin/tgm-batch-updates/archive/refs/heads/master.zipDeclares an update source (https://github.com/thomasgriffin/tgm-batch-updates), so updates arrive through the plugin's own updater.
From the readme
TGM Batch Updates
TGM Batch Updates is a batch updating utility plugin for WordPress. http://thomasgriffin.io/introducing-tgm-batch-updates-plugin-wordpress/
Have you ever had a large dataset that you needed to churn through and update? I experienced this issue the other week. I had to go through nearly 10,000 licenses to check for a specific type of key, and if that key existed, I needed to update the license data associated with it to match some internal updates that I had put in place. I was not about to attempt this manually, so I set about to create a batch updating utility to do this for me. Viola - TGM Batch Updates for WordPress was born.
How does it work? ##
This is a plugin built for developers. It uses some ajax goodness to process data batch intervals that you set. You can set an upper limit for your data query (defaults to 1000 items) and then process the updates. This is the only interface provided. It is up to you to modify 3 important items inside of the plugin to fit your needs (all conveniently located at the beginning of the class): the $num property, the getquerydata method and the processquerydata method.
The $num property delineates how many items you shou