Updated 14 September 2026
On this page
Description
Adds HTML at the start of the total container of the side summary, before the total label.
A form specific variant exists as well: add _FORMID to the hook name, for example
gotrgf_total_container_start_3 for form 3.Parameters
$before_total | String. Empty by default
$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_total_container_start", function( $html, $form ) {
return '<span class="my-icon">🛒</span>';
}, 10, 2 );
Since
version 1.1.10
Didn’t find what you were looking for?
Or contact support and I will help you out.
