WP_List_Table::handle_row_actions() – Generates and display row actions links for the list table.

You appear to be a bot. Output may be restricted

Description

Generates and display row actions links for the list table.

Usage

$string = WP_List_Table::handle_row_actions( $item, $column_name, $primary );

Parameters

$item
( object|array ) required – The item being acted upon.
$column_name
( string ) required – Current column name.
$primary
( string ) required – Primary column name.

Returns

string The row actions HTML, or an empty string if the current column is not the primary column.

Source

File name: wordpress/wp-admin/includes/class-wp-list-table.php
Lines:

1 to 3 of 3
  protected function handle_row_actions( $item, $column_name, $primary ) {
    return $column_name === $primary ? '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>' : '';
  }
 

 View on GitHub View on Trac