public function init_settings()
{
$this->settings = get_option($this->get_option_key(), null);
// If there are no settings defined, use defaults.
if (!is_array($this->settings)) {
$form_fields = $this->get_form_fields();
$this->settings = array_merge(array_fill_keys(array_keys($form_fields), ''), wp_list_pluck($form_fields, 'default'));
}
}