Skip to content

Instantly share code, notes, and snippets.

@vbuck
Created October 18, 2016 20:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vbuck/ee728c235f258d99552000c463c41e6b to your computer and use it in GitHub Desktop.
Save vbuck/ee728c235f258d99552000c463c41e6b to your computer and use it in GitHub Desktop.
WP Smush "Bulk Smush Pusher"
// Execute in your console while WP Smush is open to bulk smush in intervals of 50 automatically
var smushTimer = setInterval( function() { !jQuery('.wp-smush-button').attr('disabled') ? jQuery('.wp-smush-button').click() : console.log('smush-check'); }, 3000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment