Last active
September 22, 2021 20:15
-
-
Save CapWebSolutions/d4af08e4798da19c33ba2c1fb23c0db7 to your computer and use it in GitHub Desktop.
Dump timezone in admin for debuging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('admin_menu','dump_timezone_choice'); | |
function dump_timezone_choice($my_data) { | |
$my_data = wp_timezone_string(); | |
var_dump($my_data); | |
return($my_data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment