Wordpress 3 multi-post/page deleter

/ Published in: JavaScript
Save to your folder(s)

Delete a page of wordpress posts with one click ("Run" in Firebug or Developer Tools)

Copy this code and paste it in your HTML
  1. var $ = jQuery;
  2. $('select[name="action"]').val('trash');
  3. $('#cb>input').attr('checked',true).trigger('click');
  4. $('#doaction').trigger('click');

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.