WordPress at a glance
function is not described

WP_Media_List_Table::handle_row_actions() WP 4.3.0

Generates and displays row action links.

This is a method of the class: WP_Media_List_Table

No Hooks.


String. Row actions output for media attachments.


$WP_Media_List_Table = new WP_Media_List_Table();
$var = $WP_Media_List_Table->handle_row_actions( $post, $column_name, $primary );
$post(object) (required)
Attachment being acted upon.
$column_name(string) (required)
Current column name.
$primary(string) (required)
Primary column name.


Since 4.3.0 Introduced.

Code of WP Media List Table::handle row actions: wp-admin/includes/class-wp-media-list-table.php WP 5.2.2

protected function handle_row_actions( $post, $column_name, $primary ) {
	if ( $primary !== $column_name ) {
		return '';

	$att_title = _draft_or_post_title();
	return $this->row_actions( $this->_get_row_actions( $post, $att_title ) );