public function __get($field) { if (!isset($this->{$field})) { if (is_multisite()) { $this->{$field} = get_blog_option($this->ID, $field); } else { $this->{$field} = get_option($field); } } return $this->{$field}; }