BP_Admin::emails_register_situation_column( array $columns = array() )

Registers ‘Situations’ column on Emails dashboard page.

Description

Parameters

$columns

(Optional) Current column data.

Default value: array()

Return

(array)

Source

File: bp-core/classes/class-bp-admin.php

	public function emails_register_situation_column( $columns = array() ) {
		$situation = array(
			'situation' => __( 'Situations', 'buddyboss' )
		);

		// Inject our 'Situations' column just before the last 'Date' column.
		return array_slice( $columns, 0, -1, true ) + $situation + array_slice( $columns, -1, null, true );
	}

Changelog

Changelog
Version Description
BuddyPress 2.6.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.