Custom widget for WordPress dashboard

Sometimes you want to provide additional info to customers in the backend. You can solve this by using a widget where you can paste HTML – the code is, as almost always, best placed in the functions.php of your current theme:

/** Dashboard Widget */

add_action('ja_dashboard_setup', 'jado_dashboard_widgets');
function jado_dashboard_widgets()
    global $wp_meta_boxes;
    wp_add_dashboard_widget('custom_widget', 'Problems or questions?', 'jado_dashboard_information');

function jado_dashboard_information()
    echo 'Please ask at <a href="mailto:ask@ja.do">ask@ja.do</a>';