/** * Generates content for a single row of the table. * * @since 2.5.0 * * @param object $item The current item. */ public function single_row($item) { echo '<tr class="' . ($this->tgmpa->is_plugin_active($item['slug']) ? 'active' : 'inactive') . '">'; $this->single_row_columns($item); echo '</tr>'; /** * 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); }