wpmu_activate_blog

动作钩子


do_action( 'wpmu_activate_blog', $blog_id, $user_id, $password, $signup->title, $meta )
参数
  • (int)
    $blog_id
    Blog ID.
    Required:
  • (int)
    $user_id
    User ID.
    Required:
  • (string)
    $password
    User password.
    Required:
  • (string)
    $signup_title
    Site title.
    Required:
  • (array)
    $meta
    Signup meta data. By default, contains the requested privacy setting and lang_id.
    Required:
定义位置
  • wp-includes/ms-functions.php
    , line 1266
引入
MU (3.0.0)
弃用

Fires immediately after a site is activated.

do_action( 'wpmu_activate_blog', $blog_id, $user_id, $password, $signup->title, $meta );