activate_blog

动作钩子


do_action( 'activate_blog', $id )
参数
  • (int)
    $id
    The ID of the activated site.
    Required:
定义位置
  • wp-admin/network/sites.php
    , line 266
引入
MU (3.0.0)
弃用

Fires after a network site is activated.

do_action( 'activate_blog', $id );