Updated 14 September 2026
On this page
Description
Adds a field type to the field types the summary supports, or removes one. An added type can be selected in the Visible fields selector and gets the Live Summary tab in the form editor. On the page, register a JavaScript class for it with gotrLiveSummaries.registerFieldType(). Read the full walkthrough here: Adding a custom field type
Parameters
$types | Array. The supported field types, including the add-on types that are found automatically
Return
Array
Usage
Copy the below code to the functions.php of your child theme or to your snippet plugin.
<?php
add_filter( "gotrls_supported_field_types", function( $types ) {
$types[] = 'my_rating'; // Add your own type.
return array_diff( $types, array( 'workflow_discussion' ) ); // Or leave one out.
} );
Since
version 2.2.0
Didn’t find what you were looking for?
Or contact support and I will help you out.
