init( $data, $field_name, $field_value ); } /** * Get the wrapper classname. * * @since 6.14 * * @return string */ protected function get_wrapper_class_name() { $class = $this->get_default_wrapper_class_names(); $class .= ' frm-align-component frm-radio-component'; if ( empty( $this->data['options'] ) || 2 !== count( $this->data['options'] ) ) { return $class; } return $class . ' frm-2-options'; } }