enable_gdpr; } /** * Add GDPR field to form builder * * @since 6.19 * @param array $fields * @return array */ public static function add_gdpr_field( $fields ) { $fields[ self::FIELD_TYPE ] = array( 'name' => __( 'GDPR', 'formidable' ), 'icon' => 'frm_icon_font frm-gdpr-icon', ); return $fields; } /** * Initialize GDPR field Class name * * @since 6.19 * @param string $field_type * @return string */ public static function get_gdpr_field_class( $field_type = '' ) { if ( self::FIELD_TYPE === $field_type ) { return self::FIELD_CLASS; } return ''; } }