Skip to content

Instantly share code, notes, and snippets.

@subins2000
Created June 19, 2017 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save subins2000/b7f58625f95c1b8b24d6455f88cc0b73 to your computer and use it in GitHub Desktop.
Save subins2000/b7f58625f95c1b8b24d6455f88cc0b73 to your computer and use it in GitHub Desktop.
WordPress newsletter Plugin : Resend Confirmation To All persons Shows In List
/**
* Run this in browser console
*/
!function(c){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.onload=c,t.src="https://malsup.github.io/jquery.form.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}(function(){
jQuery("td:nth-child(1)").each(function(){
jQuery('form#channel').find('[name=btn]').val(jQuery(this).text().replace(/(\r\n|\n|\r)/gm,"").trim());
jQuery('form#channel').find('[name=act]').val('resend');
jQuery('form#channel').ajaxSubmit();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment