BP_Members_List_Table::get_bulk_actions()

Specific bulk actions for signups.

Description

Source

File: bp-members/classes/class-bp-members-list-table.php

	public function get_bulk_actions() {
		$actions = array(
			'activate' => __( 'Activate', 'buddyboss' ),
			'resend'   => __( 'Email', 'buddyboss' ),
		);

		if ( current_user_can( 'delete_users' ) ) {
			$actions['delete'] = __( 'Delete', 'buddyboss' );
		}

		return $actions;
	}

Changelog

Changelog
Version Description
BuddyPress 2.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.