archive_blog action-hook . WP 3.0.0
Fires when the 'archived' status is added to a site.
Usage
add_action( 'archive_blog', 'action_function_name_6653' ); function action_function_name_6653( $site_id ){ // action... }
- $site_id(int)
- Site ID.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
archive_blog
wp-includes/ms-site.php 1228
do_action( 'archive_blog', $site_id );
Where in WP core the hook is used WordPress
wp-includes/ms-site.php 91
add_action( $action, 'wp_maybe_update_network_site_counts', 10, 0 );