activate_blog

activate_blog

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('activate_blog') is found 1 times:

  • /wp-admin/network/sites.php line 280
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
         * @since MU (3.0.0)
         *
         * @param int $id The ID of the activated site.
         */
        do_action( 'activate_blog', $id );
        break;
     
    case 'deactivateblog':
        /**
         * Fires before a network site is deactivated.
         *

See this hook used in plugins: