A dedicated dashboard widget that displays all version information in an at-a-glance format on your WordPress Dashboard.

Dashboard Widget

The Dashboard Widget adds a dedicated "Version Info" meta box to the main WordPress Dashboard screen, giving you an organized view of your site's technical stack every time you log in.

What It Displays

The widget shows the following information in a clean, structured layout:

  • WordPress version (with update link if available)
  • PHP version
  • MySQL version
  • Web Server software

Enabling / Disabling

The Dashboard Widget is disabled by default. To enable it:

  1. Navigate to Settings > Version Info > General.
  2. Check Show Dashboard Widget.
  3. Click Save Changes.

If the widget doesn't appear after enabling it, check the Screen Options tab at the top of the Dashboard page. Ensure the "Version Info" checkbox is checked. WordPress allows users to hide any dashboard widget via Screen Options.

Customizing Widget Content

Developers can modify the items displayed in the dashboard widget using the version_info_dashboard_widget_items filter:

add_filter( 'version_info_dashboard_widget_items', 'customize_widget_items' );

function customize_widget_items( array $items ): array {
    // Add a custom item to the dashboard widget
    $items['hostname'] = [
        'label' => 'Hostname',
        'value' => gethostname(),
    ];
    return $items;
}

hooks-and-filters.md