Add Element as a Filter to the_content

Here’s an example that should work for you:

add_filter('the_content', 'filter_content');

function filter_content($content){

  return $content = "<div class="myclass">" . $content . "</div>";

}

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