BP_Activity_List_Table::get_bulk_actions()

Get bulk actions.


Return Return

(array) Key/value pairs for the bulk actions dropdown.


Source Source

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

	public function get_bulk_actions() {

		/**
		 * Filters the default bulk actions so plugins can add custom actions.
		 *
		 * @since 1.6.0
		 *
		 * @param array $actions Default available actions for bulk operations.
		 */
		return apply_filters( 'bp_activity_list_table_get_bulk_actions', array(
			'bulk_spam'   => __( 'Mark as Spam', 'buddypress' ),
			'bulk_ham'    => __( 'Not Spam', 'buddypress' ),
			'bulk_delete' => __( 'Delete Permanently', 'buddypress' ),
		) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.