Batch update a post meta field value of each post in Post Type
Take a look at the AJAX documentation, there are plenty of examples on this site and across the Googles to trigger a server event without refreshing the page. In this case, WP is listening to an AJAX call that looks like http://example.com/wp-admin/admin-ajax.php?action=wpse20160318_batch_update. When triggered, it’ll run through your batch process an output a JSON message … Read more