/** * Dashboard action * * @return void */ function custom_dashboard_setup() { wp_add_dashboard_widget('custom-dashboard-info-widget', Custom::get_info("Name") . " | " . Custom::get_info("Version"), 'custom_dashboard_info_widget'); }