/** * Generates content for a single row of the table. * * @since 2.5.0 * * @param object $item The current item. */ public function single_row($item) { parent::single_row($item); /** * Fires after each specific row in the TGMPA Plugins list table. * * The dynamic portion of the hook name, `$item['slug']`, refers to the slug * for the plugin. * * @since 2.5.0 */ do_action("tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context); }
public function single_row($item) { $this->row_number += $this->is_order_desc() ? -1 : +1; parent::single_row($item); }
public function single_row($item) { static $count = 0; $count++; $item->index = $count; parent::single_row($item); $this->shipping_editor($item); }
public function single_row($item) { if ($item->alert_id == 9999) { echo '<tr style="background-color: #D5E46E">'; $this->single_row_columns($item); echo '</tr>'; } else { parent::single_row($item); } }