Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
Hello everyone.
I am looking into changing the timezones in the profile tab. I've added the code below to functions.php to change profile locations, and it worked fine. Which I assume modifying timezones follow the same concept. However, I want to make sure I'm taking the correct steps to avoid any issues.
Thanks!
function custom_wpforo_user_locations( $user_fields ){
if( isset($user_fields['location']['values']) ) {
$user_fields['location']['values'] =
array(
//Custom Locations:
'a1',
'b2',
'c3',
);
}
return $user_fields;
}
add_filter('wpforo_member_after_init_fields', 'custom_wpforo_user_locations', 10);
Just to clarify, am looking for the filter hook to modify the time zones.
Would appreciate it if anyone shares it/helps in showing steps to modify time zones, I've been looking into the documentation but couldn't find anything.