WordPress at Your Fingertips
function is not described

WP_Media_List_Table::handle_row_actions() protected WP 4.3.0

Generates and displays row action links.

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

No Hooks.


String. Row actions output for media attachments, 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( $post, $column_name, $primary );
$post(WP_Post) (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 5.8.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 ) );