deactivate_blog

deactivate_blog

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('deactivate_blog') is found 1 times:

  • /wp-admin/network/sites.php line 291
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
         * @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':