WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about media_row_actions

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-media-list-table.php apply_filters 848 /**
* Filters the action links for each attachment in the Media list table.
*
* @since 2.8.0
*
* @param string[] $actions An array of action links for each attachment.
* Default 'Edit', 'Delete Permanently', 'View'.
* @param WP_Post $post WP_Post object for the current attachment.
* @param bool $detached Whether the list table contains media not attached
* to any posts. Default true.
*/

Hook Parameters

Parameter Type Name Description
string[] $actions An array of action links for each attachment.
WP_Post $post WP_Post object for the current attachment.
bool $detached Whether the list table contains media not attached