/** * Get an option from the 'wp_options' table. * Can be overriden with 'options' config. * * @var mixed */ public function getOption($name) { $options = $this->config()->options; if ($options && isset($options[$name]) && $options[$name]) { return $options[$name]; } $result = $this->_db->getOption($name); return $result; }