gotrgf_modify_total_label

Updated 14 September 2026

On this page

Description

Changes the label of the total of the side summary. Since v2.2 the same label is used in the {live_summary} merge tag. The label can also be set in the settings (Content tab, Totals panel).

A form specific variant exists as well: add _FORMID to the hook name, for example gotrgf_modify_total_label_3 for form 3.

Parameters

$total_label | String

$form | Array. The Gravity Forms form object

Return

String

Usage

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

<?php
add_filter( "gotrgf_modify_total_label", function( $total_label, $form ) {
    return "Amount to pay";
}, 10, 2 );

Since

version 1.1

Didn’t find what you were looking for?

Or contact support and I will help you out.

Scroll to Top