BP_Messages_Notices_List_Table::single_row( object $item )

Generates content for a single row of the table

Description

Parameters

$item

(object) (Required) The current item

Source

File: bp-messages/classes/class-bp-messages-notices-list-table.php

	public function single_row( $item ) {
		$class = '';

		if ( ! empty( $item->is_active ) ) {
			$class = ' class="notice-active"';
		}

		echo "<tr{$class}>";
		$this->single_row_columns( $item );
		echo '</tr>';
	}

Changelog

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