private function getWpdbInstance() { if (null === $this->wpdb) { /** @var \wpdb $wpdb */ global $wpdb; return $wpdb; } return $this->wpdb; }