deactivate_blog

deactivate_blog

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('deactivate_blog') is found 1 times:

  • /wp-admin/network/sites.php line 291
    			 * @since MU (3.0.0)
    			 *
    			 * @param int $id The ID of the site being deactivated.
    			 */
    			do_action( 'deactivate_blog', $id );
    
    			update_blog_status( $id, 'deleted', '1' );
    			break;
    
    		case 'unspamblog':
    		case 'spamblog':