apply_filters( 'media_row_actions', array $actions , WP_Post $post , bool $detached )
Filters the action links for each attachment in the Media list table.
Parameters
- $actions
-
An array of action links for each attachment. Default 'Edit', 'Delete Permanently', 'View'.
- $post
-
WP_Post object for the current attachment.
- $detached
-
Whether the list table contains media not attached to any posts. Default true.
Source
Changelog
Version | Description |
---|---|
WP-2.8.0 | Introduced. |