Files
Testing/tbb/wp-content/plugins/wp-rss-aggregator/js/admin-custom-bulk-actions.js

17 lines
608 B
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
/**
* Adds and manages custom bulk actions for the Feed Sources page.
*
* @since 2.5
*/
(function($, wprss_admin_bulk){
$(document).ready( function(){
var bulk_actions_select = $( 'select#bulk-action-selector-top, select#bulk-action-selector-bottom' );
var bulk_actions_trash = bulk_actions_select.find( "option[value='trash']" );
$( '<option>' ).attr( 'value', 'activate' ).text( wprss_admin_bulk.activate ).insertBefore( bulk_actions_trash );
$( '<option>' ).attr( 'value', 'pause' ).text( wprss_admin_bulk.pause ).insertBefore( bulk_actions_trash );
});
})(jQuery, wprss_admin_bulk);