unarchive_blog
Fires when the 'archived' status is removed from a site.
Usage
add_action( 'unarchive_blog', 'wp_kama_unarchive_blog_action' ); /** * Function for `unarchive_blog` action-hook. * * @param int $site_id Site ID. * * @return void */ function wp_kama_unarchive_blog_action( $site_id ){ // action... }
- $site_id(int)
- Site ID.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
unarchive_blog
wp-includes/ms-site.php 1220
do_action( 'unarchive_blog', $site_id );
Where the hook is used in WordPress
wp-includes/ms-default-filters.php 95
add_action( $action, 'wp_maybe_update_network_site_counts', 10, 0 );