add wp_editor to custom_meta_box

To use wp_editor() you’ll need to replace your textarea tag with the output from wp_editor() like so:

case 'textarea':
    wp_editor($meta, $field['id']);
    echo '<br /><span class="description">'.$field['desc'].'</span>';
break; 

You don’t need to echo wp_editor() since it does it automatically. You can pass an array of settings as a 3rd argument to configure it’s behaviour. More info here:

https://codex.wordpress.org/Function_Reference/wp_editor

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