# Maintainer Details in Site Health Info

> Adds a "Site maintainer" section to Tools > Site Health > Info with your agency's contact details, support plan and notes, so they travel with every copied debug report.

- Type: PHP
- Runs: Run everywhere
- Category: [Developer](https://wpide.com/library/category/developer/)
- Tags: site-health, support, agency
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/site-health-maintainer-info/

## Code

```php
// Shown in Site Health > Info.
$wpide_maintainer = array(
    'Company'       => 'Your Agency Ltd',
    'Support email' => 'support@example.com',
    'Phone'         => '+1 555 0100',
    'Support plan'  => 'Care plan, monthly updates',
    'Notes'         => 'Please contact us before installing new plugins.',
);

add_filter( 'debug_information', function ( $info ) use ( $wpide_maintainer ) {
    $fields = array();
    foreach ( $wpide_maintainer as $label => $value ) {
        $fields[ sanitize_key( $label ) ] = array(
            'label'   => $label,
            'value'   => $value,
            'private' => false,
        );
    }

    $info['wpide_maintainer'] = array(
        'label'       => 'Site maintainer',
        'description' => 'Who looks after this website.',
        'fields'      => $fields,
    );

    return $info;
} );
```

## Notes

Edit the $wpide_maintainer values; nothing is shown on the front end.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Maintainer Details in Site Health Info" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
