Issue with multi site and template
-
Hi,
I am converting some of my website to one multi site.
I get that you are maybe moving away from it in the long term, but in the short term it is easier for me just to use it right now (my pages are already templated etc).My template seem to work fine, but now I cannot get the “user_register” action to fire from my tml custom file
add_action( ‘user_register’, ‘tml_user_register’ ); Not working
I read there are new actions to go through, but I cannot figure out which one I should use…
Tried this –> add_action( ‘add_signup_meta’, ‘tml_user_register’ ); but no luck
My metas are like that :
if ( !empty( $_POST[‘country’] ) )
update_user_meta( $user_id, ‘country’, $_POST[‘country’] );What is the right way to do it?
ps : to go away from multisite, its still cool to be able to have it ??
- The topic ‘Issue with multi site and template’ is closed to new replies.