Files
Testing/tbb/wp-content/plugins/wp-rss-aggregator/js/admin-custom-bulk-actions-feed-item.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

17 lines
543 B
JavaScript

/**
* Adds and manages custom bulk actions for the Feed Items page.
*
* @since 4.7
*/
(function($, wprss_admin_bulk_feed_item){
$(document).ready( function(){
var bulk_actions_select = $( 'select#bulk-action-selector-top, select#bulk-action-selector-bottom' );
var bulk_actions_edit = bulk_actions_select.find( "option[value='edit']" );
$( '<option>' ).attr( 'value', 'trash' ).text( wprss_admin_bulk_feed_item.trash ).insertBefore( bulk_actions_edit );
bulk_actions_edit.remove();
});
})(jQuery, wprss_admin_bulk_feed_item);