/ Published in: JavaScript
Delete a page of wordpress posts with one click ("Run" in Firebug or Developer Tools)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var $ = jQuery; $('select[name="action"]').val('trash'); $('#cb>input').attr('checked',true).trigger('click'); $('#doaction').trigger('click');