Posted By

jcottrell on 01/29/12


Tagged

pages wordpress jquery admin posts


Versions (?)

Wordpress 3 multi-post/page deleter


 / Published in: JavaScript
 

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

  1. var $ = jQuery;
  2. $('select[name="action"]').val('trash');
  3. $('#cb>input').attr('checked',true).trigger('click');
  4. $('#doaction').trigger('click');

Report this snippet  

You need to login to post a comment.