Add media_row_actions filter. Props holizz. fixes #9172
git-svn-id: http://svn.automattic.com/wordpress/trunk@12221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
06bab5e3ff
commit
101751921b
|
@ -101,6 +101,7 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
|
|||
}
|
||||
if ( !$is_trash )
|
||||
$actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>';
|
||||
$actions = apply_filters( 'media_row_actions', $actions, $post );
|
||||
$action_count = count($actions);
|
||||
$i = 0;
|
||||
echo '<div class="row-actions">';
|
||||
|
|
Loading…
Reference in New Issue