make_delete_blog
Fires when the 'deleted' status is added to a site.
Usage
add_action( 'make_delete_blog', 'wp_kama_make_delete_blog_action' ); /** * Function for `make_delete_blog` action-hook. * * @param int $site_id Site ID. * * @return void */ function wp_kama_make_delete_blog_action( $site_id ){ // action... }
- $site_id(int)
- Site ID.
Changelog
Since 3.5.0 | Introduced. |
Where the hook is called
make_delete_blog
wp-includes/ms-site.php 1234
do_action( 'make_delete_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 );