Wordpress Logo

Admin Custom Dashboard Widget

add_action('wp_dashboard_setup', 'knaeckebrot_custom_dashboard_widgets');
 
function knaeckebrot_custom_dashboard_widgets() {
global $wp_meta_boxes;
 
wp_add_dashboard_widget('custom_help_widget', 'Support', 'custom_dashboard_help');
}
 
function custom_dashboard_help() {
echo '<p>Hilfe benötigt? Kontaktieren Sie mich unter <a href="mailto:mail@ich.de">mail@ich.de</a>.</p>';
}