Quoting from How to get WordPress Time Zone setting? you can set the option 'gmt_offset'
with the appropriate offset from UTC.
You should add the option to control it only in you site creation form. If you put it also on user which registers to an existing site (like the main site) users will be able to change the setting on creation, something that only the admin should be able to do.
If your form calls wpmu_new_blog()
you can set that option on blog creation from the data given in the form.
function wpse_127265_timezone( $blog_id )
{
switch_to_blog( $blog_id );
update_option('gmt_offset',$_POST['gmt_offset']);
restore_current_blog();
}
add_action( 'wpmu_new_blog', 'wpse_127265_timezone' );
If that data is part of the registration form (meaning that the site is created only after the user activated it) then things get a little more complex and you need to store the data at some other place until the activation is done.
Related Posts:
- How can I un-reserve a pending username registration?
- wordpress multisite, how to keep user on subdomain throughout registration process?
- Allowing periods in usernames
- Remove Site Name from register form – Multisite
- Prevent user creating new users with specific roles
- Get first_name and last_name on user_register hook
- Can’t add user to blog on registration (Multisite)
- Is there a wordpress function to cleanly delete an entry in the signups table?
- WordPress 3.2(Multisite) – How to add custom user meta fields to signup form?
- How to add multiple existing users to a multisite site?
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- User registration on sub site
- Disable domain redirect
- Displaying a message upon user registration
- What sites are you registered to when joining a multisite?
- Add a user to a specific blog when they register?
- Auto creation of multisite blog on user registration
- Multisite – user email activation links broken
- Add menu items/actions for multisite users who are registered on the network but do not have a role or capability in any sites
- Four columns in the wp_users table
- WP MU Register User across all blogs
- Is the Multi site functionality a viable option for Country and Language targeting?
- Using the standard WordPress “New User” interface on a multisite
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- User registration on two sites in same multisite
- How to change a user role after registering in multisite?
- How to fix that new users show up again in subsite of a Multisite?
- User registration is currently not allowed
- Multisite ‘Welcome User Email’ SITE_NAME returns ‘network’ name, not the name of the blog
- User registration on wordpress multisite
- Easily adding multiple existing users to a multisite site
- Automatic registration on main site upon user registration on Multisite
- Register a user only to the root blog – WP Multisite
- Activate User account for Sub Site broken
- Possible to have duplicate usernames on different two multisites
- How to allow mixed case characters in multisite site name?
- Modify new user email notification in network admin screen wp multisite
- Users getting linked unwanted to main mu in WordPress multisite (WPMU)
- Can’t activate a user on multisite install
- WordPress Multisite Network Subdomain
- Multisite: How to bypass wpmu_signup_user_notification and add my own notification logic?
- Allow users to register on multisite through WooCommerce using the same email address
- A different role for each site in a multisite
- Activation of new Registered site fails on multisite
- User registration problem on multisites web
- Multisite “Skip Confirmation Email” Log Out Problem
- Multisite – User creation for second site from first site?
- How to Create WPMu New User?
- multisite registration: check existing subdomains while typing
- Registration Page
- Using a number for limiting registering or banning on multisite
- How to use same email for multiple users? [duplicate]
- How to delete post revisions?
- How to get blog name, when using WordPress Multisite
- COOKIE_DOMAIN setting confusion
- Possible to make custom role in multisite that can add sites?
- Multisite: use media from one site vs. copying the same media to all language sites?
- Nginx rules for subdomain multisite install (Bedrock)
- when using add_user_to_blog getting error “Call to undefined function get_userdata”
- Restrict the user access in multi site for non-assigned blogs
- Set multisite settings when new site created
- SQL to check how many sites a user is a member of
- Getting an ERROR: Cookies are blocked error when logging in to a site on a different domain?
- Force Uploads Use Yearmonth to off (0) for all existing sites in Multisites
- convert from single site to multisite (network) with existing subdomains
- Changing admin sub-domain in WordPress multisite
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Update User Role Across Network when Main Site User is Updated
- Get the User ID Who Owns a Given Blog ID in Multisite
- Redirect subdomain in Multisite installation?
- Include only a domain path in multisite Network
- Multisite User cannot access dashboard
- WordPress Multisite logout conflict
- SEO implications of assigning a new domain to a multisite subdomain [closed]
- How to check main blog in a multisite using if statement?
- Handling single.php in Multisite
- Multisite – Multiple logo?
- One Site as a part of Multisite to be hidden (Un-published) from Public?
- Multisite signup spam troubles
- How can I map the primary domain for subsite as subdirectory for another domain?
- Disable site visiting and user logins excepting for a specific user
- How to share User Database between Two Multisite Installations + More
- Two WordPress Installs — Failed page on One Defaults to the Other
- Migrating Multisite setup to a different domain
- Error while localizing communityEventsData in script-loader.php
- Display posts from one network site on another
- Multisite with different domain names
- How to add a new domain to an existing single site WordPress server?
- Unable to sign in to network after moveing address but able to login into child sites
- Multisite overide current blog on load of WordPress
- How to change a logo on a wordpress site that is part of a 7 site multisite?
- Showing All Media from All Multisites
- Multi site sub sites redirect to root if www is NOT used in url
- Multi-site database upgrade claims success, but db_version not updated
- Admin dashboard does not show WordPress network sites
- WordPress multisite: wp-admin 403 error
- How can I configure WP multisite to use /blog/ as part of the path structures?
- How to put a Custom Folder under one sub-site of Multisite WP?
- Create a Network of Different websites with wordpress
- Cookies in Multisite network where sites have their own domain name?