Modify a plugin’s content

You don’t echo content from a filter, you return it. You should have:

function addOptions($post_id){
     $post = get_post($post_id);
     return $post_id;
}
add_filter('mbdb_book_grid_after_link','addOptions');

See: https://wordpress.stackexchange.com/a/113760/21376

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)