gotrls_default_style_preset

Updated 14 September 2026

On this page

Description

Changes the style preset that new forms start with. The setting “Preset for new forms” under Forms > Settings > Live Summary does the same without code. An unknown id falls back to modern.

Parameters

$preset_id | String. The preset id: default (the Original preset), modern, minimal, receipt, dark or the id of a custom preset

Return

String

Usage

Copy the below code to the functions.php of your child theme or to your snippet plugin.

<?php
add_filter( "gotrls_default_style_preset", function( $preset_id ) {
    return 'card';
} );

Since

version 2.2.0

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top