WordPress at Your Fingertips
function is not described

WP_MS_Sites_List_Table::get_bulk_actions() protected WP 1.0

{} It's a method of the class: WP_MS_Sites_List_Table{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_bulk_actions();

Code of WP_MS_Sites_List_Table::get_bulk_actions() WP 5.8.2

protected function get_bulk_actions() {
	$actions = array();
	if ( current_user_can( 'delete_sites' ) ) {
		$actions['delete'] = __( 'Delete' );
	}
	$actions['spam']    = _x( 'Mark as spam', 'site' );
	$actions['notspam'] = _x( 'Not spam', 'site' );

	return $actions;
}