From 0fa56163c805da19f2e2fc130470d50aea89c766 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 19 Nov 2009 17:46:07 +0000 Subject: [PATCH] Add media_row_actions filter. Props holizz. fixes #9172 git-svn-id: https://develop.svn.wordpress.org/trunk@12221 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-attachment-rows.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php index e16eb41d47..b7eeb07a1e 100644 --- a/wp-admin/edit-attachment-rows.php +++ b/wp-admin/edit-attachment-rows.php @@ -101,6 +101,7 @@ foreach ($posts_columns as $column_name => $column_display_name ) { } if ( !$is_trash ) $actions['view'] = '' . __('View') . ''; + $actions = apply_filters( 'media_row_actions', $actions, $post ); $action_count = count($actions); $i = 0; echo '
';