Uses
Uses | Description |
---|---|
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
Generates and display row actions links for the list table.
(object) (Required) The item being acted upon.
(string) (Required) Current column name.
(string) (Required) Primary column name.
(string) The row actions HTML, or an empty string if the current column is not the primary column.
File: wp-admin/includes/class-wp-list-table.php
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>' : ''; }
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/handle_row_actions