Title: unarchive_blog
Published: April 25, 2014
Last modified: February 24, 2026

---

# do_action( ‘unarchive_blog’, int $site_id )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#wp--skip-link--target)

Fires when the ‘archived’ status is removed from a site.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#parameters)󠁿

 `$site_id`int

Site ID.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#source)󠁿

    ```php
    do_action( 'unarchive_blog', $site_id );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/ms-site.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/ms-site.php#L1238)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/ms-site.php#L1238-L1238)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_maybe_transition_site_statuses_on_update()](https://developer.wordpress.org/reference/functions/wp_maybe_transition_site_statuses_on_update/)`wp-includes/ms-site.php` |

Triggers actions on site status updates.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/unarchive_blog/?output_format=md#changelog)󠁿

| Version | Description | 
| [MU (3.0.0)](https://developer.wordpress.org/reference/since/mu.3.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Funarchive_blog%2F)
before being able to contribute a note or feedback.