Summery Summery

Filters the action links for each attachment in the Media list table.

Syntax Syntax

apply_filters( 'media_row_actions', string[] $actions, WP_Post $post, bool $detached )

Parameters Parameters


(string[]) An array of action links for each attachment. Default 'Edit', 'Delete Permanently', 'View'.


(WP_Post) WP_Post object for the current attachment.


(bool) Whether the list table contains media not attached to any posts. Default true.

Source Source

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


Changelog Changelog

Version Description
2.8.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.