Hi all,
I am trying to have WPMU call a custom function wpmu_set_new_blog_default_options() when a user registers for a new blog via the wp-signup.php or when they activate the blog via wp-activate.php
The code I have is working for when admin users create the blog within /wp-admin/ but does not work when the user goes through the registration page.
I've tried ..
add_action('populate_options', 'wpmu_set_new_blog_default_options', 10, 1);
add_action('wpmu_new_blog', 'wpmu_set_new_blog_default_options', 10, 1);
add_action('wpmu_new_user', 'wpmu_set_new_blog_default_options', 10, 1);
add_action('wpmu_activate_blog', 'wpmu_set_new_blog_default_options', 10, 1 );
As far as I can tell, wp-activate.php routes to wpmu_activate_signup() which runs this line of code:
do_action('wpmu_activate_blog', $blog_id, $user_id, $password, $signup->title, $meta);
Seems like everything is in order to me.
Can anyone help me figure out why my code isnt working?