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

Generates and displays row action links.


Description Description


Parameters Parameters

$post

(object) (Required) Attachment being acted upon.

$column_name

(string) (Required) Current column name.

$primary

(string) (Required) Primary column name.


Top ↑

Return Return

(string) Row actions output for media attachments.


Top ↑

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

Top ↑

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.