How to Return in WordPress Function php file?

Your function should look something like this

function my_custom_function( $html, $content ) { 

$html .=  get_post_field('post_content', $post_id); 

$html = "<div class="post">" . $html . "</div>"; 

return $html; 
}

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