$actions = array
();
$actions['edit'
] = '<a href="' .
$edit_link . '">' .
__( 'Edit'
) . '</a>';
$actions['delete'
] =
sprintf( '<a class="submitdelete" href="%s" onclick="return confirm( \'%s\' );">%s</a>',
wp_nonce_url( "link.php?action=delete&link_id=
$link->link_id", 'delete-bookmark_' .
$link->link_id
),
/* translators: %s: Link name. */
esc_js( sprintf( __( "You are about to delete this link '%s'\n 'Cancel' to stop, 'OK' to delete."
),
$link->link_name
) ),
__( 'Delete'
) );
return $this->
row_actions( $actions );
}}