WP_Media_List_Table::handle_row_actions( object $post, string $column_name, string $primary )

Generates and displays row action links.


Parameters

$post

(Required) Attachment being acted upon.

$column_name

(Required) Current column name.

$primary

(Required) Primary column name.


Return

(string) Row actions output for media attachments.


Source

File: wp-admin/includes/class-wp-media-list-table.php

	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 ) );
	}


Changelog

Changelog
Version Description
WP-4.3.0 Introduced.