WP_Plugins_List_Table::bulk_actions │ public │ WP 3.1.0

Displays the bulk actions dropdown.

Method of the class: WP_Plugins_List_Table{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WP_Plugins_List_Table = new WP_Plugins_List_Table();
$WP_Plugins_List_Table->bulk_actions( $which );
$which(string)
The location of the bulk actions: Either 'top' or 'bottom'. This is designated as optional for backward compatibility.
Default: ''

Notes

Global. String. $status Current plugin status filter slug.

Changelog

Since 3.1.0 Introduced.

WP_Plugins_List_Table::bulk_actions() code WP 7.1.5

public function bulk_actions( $which = '' ) {
	global $status;

	if ( in_array( $status, array( 'mustuse', 'dropins' ), true ) ) {
		return;
	}

	parent::bulk_actions( $which );
}