Created
October 18, 2016 20:34
-
-
Save vbuck/ee728c235f258d99552000c463c41e6b to your computer and use it in GitHub Desktop.
WP Smush "Bulk Smush Pusher"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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