WP_Plugins_List_Table::bulk_actions() WordPress Method
The WP_Plugins_List_Table::bulk_actions() method is responsible for handling the bulk actions for the plugins list table. The bulk actions are the actions that can be performed on multiple plugins at once. These actions are displayed in the dropdown menu at the top of the plugins list table.
WP_Plugins_List_Table::bulk_actions( string $which = '' ) #
Contents
Parameters
- $which
(string)(Optional)
Default value: ''
Source
File: wp-admin/includes/class-wp-plugins-list-table.php
public function bulk_actions( $which = '' ) { global $status; if ( in_array( $status, array( 'mustuse', 'dropins' ), true ) ) { return; } parent::bulk_actions( $which ); }
Expand full source codeCollapse full source codeView on TracView on GitHub