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

Registers ‘Situations’ column on Emails dashboard page.

Parameters Parameters


(array) (Optional) Current column data.

Default value: array()

Top ↑

Return Return


Source Source

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

	public function emails_register_situation_column( $columns = array() ) {
		$situation = array(
			'situation' => _x( 'Situations', 'Email post type', 'buddypress' )

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

Top ↑

Changelog Changelog

Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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