WordPress at Your Fingertips
function is not described

WP_List_Table::handle_row_actions() protected WP 4.3.0

Generates and display row actions links for the list table.

{} It's a method of the class: WP_List_Table{}

No Hooks.


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


// protected - for code of main (parent) or child class
$result = $this->handle_row_actions( $item, $column_name, $primary );
$item(object|array) (required)
The item being acted upon.
$column_name(string) (required)
Current column name.
$primary(string) (required)
Primary column name.


Since 4.3.0 Introduced.

Code of WP_List_Table::handle_row_actions() WP 5.8.1

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>' : '';