Skip to content

Instantly share code, notes, and snippets.

View andsat's full-sized avatar
🏠
Working from home

Andrew Saturn andsat

🏠
Working from home
View GitHub Profile
@andsat
andsat / timezones.php
Created February 10, 2020 20:08
WordPress custom timezone override per user
<?php
/* timezone */
function tz_set_user_meta_subpanel()
{
/* get user */
global $user_id;
if (!$user_id) {
$user_id = get_current_user_id();

Keybase proof

I hereby claim:

  • I am andsat on github.
  • I am saturn (https://keybase.io/saturn) on keybase.
  • I have a public key whose fingerprint is A207 D9D2 3F74 7B51 828D B79F 72DE 25DF F525 52E5

To claim this, I am signing this object: