A WordPress-centric search engine for devs and theme authors



wpmu_new_blog ›

SinceMU (3.0.0)
Deprecatedn/a
do_action( 'wpmu_new_blog', $blog_id, $user_id, $domain, $path, $network_id, $meta )
Parameters: (6)
  • (int) $blog_id Site ID.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
  • (string) $domain Site domain.
    Required: Yes
  • (string) $path Site path.
    Required: Yes
  • (int) $network_id Network ID. Only relevant on multi-network installations.
    Required: Yes
  • (array) $meta Meta data. Used to set initial site options.
    Required: Yes
Defined at:
Codex:

Fires immediately after a new site is created.





Source

do_action( 'wpmu_new_blog', $blog_id, $user_id, $domain, $path, $network_id, $meta );